Learning Puppet Exercise - Installing httpd package and starting service

Posted by Quetzalcoatl on Server Fault See other posts from Server Fault or by Quetzalcoatl
Published on 2013-06-06T12:28:49Z Indexed on 2013/11/10 22:02 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

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:

enter image description here

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.

© Server Fault or respective owner

Related posts about puppet

Related posts about httpd