I'm working my way through the Learning Puppet guide on manifests, and I am stuck on the exercise at the bottom of the page which asks you to install the httpd
package and start the httpd
service.
So far my manifest looks like:
package { 'httpd':
ensure => present,
}
service { 'httpd':
ensure => running,
enable => true,
}
However, upon trying puppet apply
on it, I get:
From looking at other examples of similar manifests, I cant quite figure out what the issue is - I presume the attempt at installing the package httpd
failed? Unfortunately the error message isn't particularly helpful here. Any assistance anyone can provide would be greatly appreciated.
I'm running their VMWare Learning Puppet VM (PE 2.7.0) that was provided for this tutorial.