Difference between revisions of "Bolt"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Bolt ([[Puppet]]) [[agentless]]
 
Bolt ([[Puppet]]) [[agentless]]
  
 +
* <code>[[bolt --help]]</code>
 +
* <code>[[bolt command run]]</code>
 +
* <code>[[bolt task run facts --targets]]</code>
  
[[brew install puppetlabs/puppet/puppet-bolt]]
 
export PATH=$PATH:/opt/puppetlabs/bin
 
  
[[bolt puppetfile install]]
+
==How to intall==
[[bolt project init]]
+
<pre>brew install puppetlabs/puppet/puppet-bolt
  [[bolt plan run]] My_plan
+
  export PATH=$PATH:/opt/puppetlabs/bin</pre>
[[bolt plan show]]
 
  
[[bolt command run]]
+
==Basic commands==
[[bolt file upload]]
+
*<code>[[bolt project]] init</code>
[[bolt script run]]
+
*<code>[[bolt plan]] run My_plan</code>
[[bolt task run]]
+
*<code>bolt plan show</code>
[[bolt task show]]
 
 
  
apply()
+
*<code>[[bolt task]] show</code>
apply_prep('all')
+
*<code>[[bolt file]] upload</code>
run_task()
+
*<code>[[bolt script]] run</code>
[[return]]()
+
*<code>[[bolt task]]</code>
 
+
*<code>bolt task run</code>
 
 
[[host-key-check]]: false
 
  
 +
===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

Bolt (Puppet) agentless


How to intall[edit]

brew install puppetlabs/puppet/puppet-bolt
 export PATH=$PATH:/opt/puppetlabs/bin

Basic commands[edit]

Others[edit]

  • apply()
  • apply_prep('all')
  • run_task()
  • return()
  • host-key-check: false

Related terms[edit]

See also[edit]

Advertising: