Editing Puppet

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[wikipedia:Puppet (company)|Puppet]] (2005) is an open-core software [[configuration management]] tool available since 2005. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration.
+
[[wikipedia:Puppet (company)|Puppet]] is an open-core software [[configuration management]] tool available since 2005. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration.
 
 
== Installation ==
 
* MacOs: <code>[[brew install --cask puppetry]]</code>
 
* [[Ubuntu]]: <code>apt install puppet</code>
 
  
 
== Commands ==
 
== Commands ==
* <code>[[facter]]</code>
+
* <code>facter</code>
* <code>[[puppet apply]]</code>
+
* <code>puppet agent --test</code>
* <code>[[puppet agent]] --test</code>
+
* <code>puppet apply file.pp</code>
* <code>[[puppet agent -t]]</code>
 
* <code>[[puppet agent -tv]]</code>
 
* <code>puppet apply file[[.pp]]</code>
 
* <code>puppet apply --test</code>
 
* <code>[[puppet module]] install puppetlabs-apache</code>
 
* <code>[[puppet cert list]]</code>
 
* <code>[[puppet cert sign mycertname]]</code>
 
  
 
== Example puppet file==
 
== Example puppet file==
 
my_first_puppet_example.pp
 
<pre>
 
file {'/tmp/my-example-ip':                                         
 
  content => "hello world!", 
 
}
 
</pre>
 
 
[[puppet apply my_first_puppet_example.pp]]
 
 
 
my_second_example.pp
 
 
<pre>
 
<pre>
 
file {'/tmp/my-example-ip':                                            # resource type file and filename
 
file {'/tmp/my-example-ip':                                            # resource type file and filename
Line 37: Line 14:
 
}
 
}
 
</pre>
 
</pre>
See also [[Ansible]] <code>[[lineinfile]]</code> [[module]]
+
See also Ansible [[lineinfile]] [[DevOps/Ansible/Modules]]
  
 
== Activities ==
 
== Activities ==
Line 44: Line 21:
 
# Read https://blog.csanchez.org/2012/03/22/introduction-to-puppet/
 
# Read https://blog.csanchez.org/2012/03/22/introduction-to-puppet/
  
 
+
== See also ==
== Related terms ==
+
* [[Ansible]]
* [[Puppet manifests]]: <code>/etc/puppet/manifests/site.pp</code>
 
* [[Puppet modules]]: Puppet Forge, <code>[[puppet module install]]</code>
 
* <code>[[bolt plan]] run</code>
 
* [[bolt]] (2018?) open source [[orchestration]] tool and [[agentless]] task runner.
 
* [[Matt Waxman]]
 
* [[ARA]]
 
* [[Puppet Enterprise]]
 
* [[Puppetfile]]
 
 
* [[Ruby]], [[Clojure]]
 
* [[Ruby]], [[Clojure]]
  
== See also ==
 
* {{Bolt}}
 
* {{Puppet}}
 
* {{Configuration management}}
 
* {{IaC}}
 
  
 
[[Category:Server administration]]
 
[[Category:Server administration]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: