A Puppet manifest is a text file written in the Puppet language that describes the desired state of a system. It is used by the Puppet configuration management system to define the configuration of a system.

Example:

node ‘node1.example.com’ {
package { ‘httpd’:
ensure => installed,
}

service { ‘httpd’:
ensure => running,
enable => true,
}

file { ‘/var/www/html/index.html’:
ensure => file,
content => “Hello World!n”,
}
}

Leave a Reply

Your email address will not be published. Required fields are marked *