Difference between revisions of "Puppet"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
* <code>puppet apply file[[.pp]]</code>
 
* <code>puppet apply file[[.pp]]</code>
 
* <code>puppet apply --test</code>
 
* <code>puppet apply --test</code>
 +
* <code>[[puppet module]] install puppetlabs-apache</code>
 
* puppet cert list
 
* puppet cert list
 
* puppet cert sign mycertname
 
* puppet cert sign mycertname

Revision as of 04:28, 3 November 2020

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.

Installation

Commands

Example puppet file

file {'/tmp/my-example-ip':                                            # resource type file and filename
  ensure  => present,                                               # make sure it exists
  mode    => '0644',                                                # file permissions
  content => "My Public IP Address is: ${ipaddress_eth0}.\n",  # note the ipaddress_eth0 fact
}

See also Ansible lineinfile module

Activities

  1. Read Puppet release notes: https://puppet.com/docs/puppet/latest/release_notes_puppet.html
  2. Read Puppet source code: https://github.com/puppetlabs/puppet
  3. Read https://blog.csanchez.org/2012/03/22/introduction-to-puppet/


Related terms

See also

Advertising: