Difference between revisions of "Bolt"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(18 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
* <code>[[bolt command run]]</code> | * <code>[[bolt command run]]</code> | ||
* <code>[[bolt task run facts --targets]]</code> | * <code>[[bolt task run facts --targets]]</code> | ||
+ | |||
==How to intall== | ==How to intall== | ||
− | + | <pre>brew install puppetlabs/puppet/puppet-bolt | |
− | export PATH=$PATH:/opt/puppetlabs/bin | + | export PATH=$PATH:/opt/puppetlabs/bin</pre> |
==Basic commands== | ==Basic commands== | ||
− | *[[bolt project | + | *<code>[[bolt project]] init</code> |
− | *[[bolt plan | + | *<code>[[bolt plan]] run My_plan</code> |
− | * | + | *<code>bolt plan show</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *<code>[[bolt task]] show</code> | |
+ | *<code>[[bolt file]] upload</code> | ||
+ | *<code>[[bolt script]] run</code> | ||
+ | *<code>[[bolt task]]</code> | ||
+ | *<code>bolt task run</code> | ||
+ | ===Others=== | ||
+ | * apply() | ||
+ | * apply_prep('all') | ||
+ | * run_task() | ||
+ | * [[return()]] | ||
+ | * host-key-check: false | ||
== Related terms == | == Related terms == | ||
* [[WinRM]] | * [[WinRM]] | ||
* <code>inventory.[[yaml]]</code> | * <code>inventory.[[yaml]]</code> | ||
− | * [[hiera.yaml]] | + | * <code>[[hiera.yaml]]</code> |
+ | * <code>[[return]]</code> | ||
+ | * [[Bolt taxi]] | ||
== See also == | == See also == | ||
+ | * {{Bolt}} | ||
* {{Puppet}} | * {{Puppet}} | ||
[[Category:Puppet]] | [[Category:Puppet]] |
Latest revision as of 00:10, 19 June 2024
How to intall[edit]
brew install puppetlabs/puppet/puppet-bolt export PATH=$PATH:/opt/puppetlabs/bin
Basic commands[edit]
bolt project init
bolt plan run My_plan
bolt plan show
bolt task show
bolt file upload
bolt script run
bolt task
bolt task run
Others[edit]
- apply()
- apply_prep('all')
- run_task()
- return()
- host-key-check: false
Related terms[edit]
- WinRM
inventory.yaml
hiera.yaml
return
- Bolt taxi
See also[edit]
Advertising: