Project

General

Profile

Actions

User story #7480

closed

User story #6844: Add -v and -d to all rudder commands calling cfengine

rudder agent {run,update,inventory} accept -i option but refuse -I - the opposite of CFEngine

Added by Jonathan CLARKE over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

[root@node1 vagrant]# rudder agent run -I
/opt/rudder/share/commands/agent-run: illegal option -- I

However, '-i' is accepted. CFEngine accepts the opposite, as show in the code:

while getopts "ivdcb:" opt; do
  case $opt in
    i)  
      VERBOSITY="-I" 
      ;;  

This is very confusing. I propose to add support for -I too.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #7535: rudder agent {run,update,inventory} should activate ncf's verbose output with -I switchReleasedBenoît PECCATTE2015-12-03Actions
Actions #1

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
Actions #2

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/28
Actions #3

Updated by Benoît PECCATTE over 8 years ago

  • Tracker changed from Bug to User story
Actions #4

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Jonathan CLARKE over 8 years ago

  • Related to User story #7535: rudder agent {run,update,inventory} should activate ncf's verbose output with -I switch added
Actions #7

Updated by Benoît PECCATTE over 8 years ago

  • Category changed from System integration to Agent
Actions #9

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF