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 almost 9 years ago.
Updated almost 9 years ago.
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.
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
- 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
- Tracker changed from Bug to User story
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Related to User story #7535: rudder agent {run,update,inventory} should activate ncf's verbose output with -I switch added
- Category changed from System integration to Agent
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.0~beta1 which was released today.
Also available in: Atom
PDF