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]] | + | [[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. |
− | |||
− | |||
− | |||
− | |||
== Commands == | == Commands == | ||
− | * <code> | + | * <code>facter</code> |
− | * <code> | + | * <code>puppet agent --test</code> |
− | + | * <code>puppet apply file.pp</code> | |
− | |||
− | |||
− | * <code>puppet apply file | ||
− | |||
− | |||
− | |||
− | |||
== Example puppet file== | == Example puppet file== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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 | + | 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 == | |
− | == | + | * [[Ansible]] |
− | * [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[Ruby]], [[Clojure]] | * [[Ruby]], [[Clojure]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Server administration]] | [[Category:Server administration]] |
Advertising: