-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_puppet
52 lines (47 loc) · 1.88 KB
/
_puppet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#compdef puppet
#autoload
_puppet() {
local -a subcommands
subcommands=(
'agent:The puppet agent daemon'
'apply:Apply Puppet manifests locally'
'ca:Local Puppet Certificate Authority management.'
'catalog:Compile, save, view, and convert catalogs.'
'cert:Manage certificates and requests'
'certificate:Provide access to the CA for certificate management.'
'certificate_request:Manage certificate requests.'
'certificate_revocation_list:Manage the list of revoked certificates.'
'config:Interact with Puppet`s configuration options.'
'describe:Display help about resource types'
'device:Manage remote network devices'
'doc:Generate Puppet documentation and references'
'facts:Retrieve and store facts.'
'file:Retrieve and store files in a filebucket'
'filebucket:Store and retrieve files in a filebucket'
'help:Display Puppet help.'
'inspect:Send an inspection report'
'instrumentation_data:Manage instrumentation listener accumulated data.'
'instrumentation_listener:Manage instrumentation listeners.'
'instrumentation_probe:Manage instrumentation probes.'
'key:Create, save, and remove certificate keys.'
'kick:Remotely control puppet agent'
'man:Display Puppet manual pages.'
'master:The puppet master daemon'
'module:Creates, installs and searches for modules on the Puppet Forge.'
'node:View and manage node definitions.'
'parser:Interact directly with the parser.'
'plugin:Interact with the Puppet plugin system.'
'queue:Queuing daemon for asynchronous storeconfigs'
'report:Create, display, and submit reports.'
'resource:The resource abstraction layer shell'
'resource_type:View classes, defined resource types, and nodes from all manifests.'
'secret_agent:Mimics puppet agent.'
'status:View puppet server status.'
)
if (( CURRENT == 2 )); then
_describe -t subcommands "puppet subcommand" subcommands
return
fi
return 0
}
_puppet