Revision 2b503956
Added by Alexis Mousset about 7 years ago
share/commands/agent-run | ||
---|---|---|
UPDATE=true
|
||
;;
|
||
i|I)
|
||
VERBOSITY="-I ${DEBUG_CLASS}"
|
||
VERBOSITY="-I ${INFO_CLASS}"
|
||
DISPLAY_INFO=1
|
||
QUIET=0
|
||
UPDATE_OPTIONS="${UPDATE_OPTIONS} -i"
|
share/commands/agent-update | ||
---|---|---|
|
||
VERBOSITY=""
|
||
FORCE=false
|
||
DEBUG_CLASS="-D debug"
|
||
QUIET=false
|
||
|
||
while getopts "iIvdqcf" opt; do
|
||
case $opt in
|
||
i|I)
|
||
VERBOSITY="-I ${DEBUG_CLASS}"
|
||
VERBOSITY="-I ${INFO_CLASS}"
|
||
QUIET=false
|
||
;;
|
||
v)
|
share/commands/remote-run | ||
---|---|---|
while getopts "iIvdqwrRmcb:D:j:at:u:C:" opt; do
|
||
case $opt in
|
||
i|I)
|
||
VERBOSITY="-I ${DEBUG_CLASS}"
|
||
VERBOSITY="-I ${INFO_CLASS}"
|
||
DISPLAY_INFO=1
|
||
QUIET=0
|
||
;;
|
share/lib/cfengine_parsing.sh | ||
---|---|---|
BUNDLE=""
|
||
CLASS=""
|
||
VERBOSITY=""
|
||
DEBUG_CLASS="-D debug"
|
||
# Use multiline formatting
|
||
MULTILINE=0
|
||
# Display logs between Rudder reports
|
share/lib/common.sh | ||
---|---|---|
|
||
# Paths
|
||
RUDDER_VAR="/var/rudder"
|
||
|
||
# Standard classes for verbosity
|
||
DEBUG_CLASS="-D trace,debug,info"
|
||
INFO_CLASS="-D info"
|
||
|
Also available in: Unified diff
Fixes #9280: Improve usage of ncf logging in rudder command