Puppet: agent: update options list, accordind to 'puppet help agent'
This commit is contained in:
parent
b56df708a1
commit
af5ba56089
@ -105,21 +105,24 @@ _puppet()
|
|||||||
case $subcommand in
|
case $subcommand in
|
||||||
agent)
|
agent)
|
||||||
case $prev in
|
case $prev in
|
||||||
|
--certname)
|
||||||
|
_known_hosts_real "$cur"
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
--digest)
|
||||||
|
_puppet_digest
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
--fqdn)
|
--fqdn)
|
||||||
|
_known_hosts_real "$cur"
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
--logdest)
|
--logdest)
|
||||||
_puppet_logdest
|
_puppet_logdest
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
--serve)
|
--masterport)
|
||||||
# From /usr/lib/ruby/1.8/puppet/network/handler/
|
COMPREPLY=( $( compgen -W '8140' -- "$cur" ) )
|
||||||
COMPREPLY=( $( compgen -W 'ca filebucket fileserver master
|
|
||||||
report runner status' -- "$cur" ) )
|
|
||||||
return 0
|
|
||||||
;;
|
|
||||||
--digest)
|
|
||||||
_puppet_digest
|
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
--waitforcert)
|
--waitforcert)
|
||||||
@ -127,11 +130,10 @@ _puppet()
|
|||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=( $( compgen -W '--daemonize --no-daemonize
|
COMPREPLY=( $( compgen -W '--certname --daemonize --no-daemonize
|
||||||
--debug --detailed-exitcodes --disable --enable --help
|
--debug --detailed-exitcodes --digest --disable --enable --fingerprint
|
||||||
--fqdn --logdest --onetime --serve --test --noop
|
--help --logdest --masterport --no-client --noop --onetime --test
|
||||||
--digest --fingerprint --version --verbose
|
--verbose --version --waitforcert' -- "$cur" ) )
|
||||||
--waitforcert --no-client' -- "$cur" ) )
|
|
||||||
return 0
|
return 0
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user