March 2017
Beginner to intermediate
925 pages
18h 11m
English
To show how ordering works, we'll create a manifest that installs httpd and then ensures the httpd package service is running.
service {'httpd':
ensure => running,
require => Package['httpd'],
}httpd; we now need to define that resource: package {'httpd':
ensure => 'installed',
}In this example, the package will be installed before the service is started. Using require within the definition of the httpd service ensures that the package is installed first, regardless of the order within the manifest file.
Capitalization is important in Puppet. ...
Read now
Unlock full access