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

Also available in: Atom PDF