Puppet

From wikieduonline
Revision as of 17:08, 8 December 2019 by Welcome (talk | contribs) (Created page with "Puppet is an open-core software configuration management tool available since 2005. It runs on many Unix-like systems as well as on Microsof...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • facter
  • puppet agent --test
  • puppet apply file.pp

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 DevOps/Ansible/Modules

Activities

See also

Advertising: