[Bash-completion-commits] [bash-completion] 04/11: Puppet: agent: update options list, accordind to 'puppet help agent'
Ville Skyttä
scop-guest at moszumanska.debian.org
Mon Jun 2 09:42:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit af5ba56089088669e31bb49d855bcc42c98f0951
Author: Mathieu Parent <math.parent at gmail.com>
Date: Fri May 30 15:09:52 2014 +0200
Puppet: agent: update options list, accordind to 'puppet help agent'
---
completions/puppet | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/completions/puppet b/completions/puppet
index 25abb5d..02ac1b0 100644
--- a/completions/puppet
+++ b/completions/puppet
@@ -105,21 +105,24 @@ _puppet()
case $subcommand in
agent)
case $prev in
+ --certname)
+ _known_hosts_real "$cur"
+ return 0
+ ;;
+ --digest)
+ _puppet_digest
+ return 0
+ ;;
--fqdn)
+ _known_hosts_real "$cur"
return 0
;;
--logdest)
_puppet_logdest
return 0
;;
- --serve)
- # From /usr/lib/ruby/1.8/puppet/network/handler/
- COMPREPLY=( $( compgen -W 'ca filebucket fileserver master
- report runner status' -- "$cur" ) )
- return 0
- ;;
- --digest)
- _puppet_digest
+ --masterport)
+ COMPREPLY=( $( compgen -W '8140' -- "$cur" ) )
return 0
;;
--waitforcert)
@@ -127,11 +130,10 @@ _puppet()
return 0
;;
*)
- COMPREPLY=( $( compgen -W '--daemonize --no-daemonize
- --debug --detailed-exitcodes --disable --enable --help
- --fqdn --logdest --onetime --serve --test --noop
- --digest --fingerprint --version --verbose
- --waitforcert --no-client' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '--certname --daemonize --no-daemonize
+ --debug --detailed-exitcodes --digest --disable --enable --fingerprint
+ --help --logdest --masterport --no-client --noop --onetime --test
+ --verbose --version --waitforcert' -- "$cur" ) )
return 0
esac
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list