Hi Alexandra, Attempt 2 is on the right track.
The thing to keep in mind here is that the package and service types both rely on the platform's own naming conventions, so you'll often have to do a bit of research when you're first starting to automate a new service or whatever. In this case, you must find out what names your target platform uses for the Apache package, and the Apache service. On CentOS, I believe they're both called "httpd", so in that case, your package resource currently has the wrong title. (On Debian-like systems, I think the package and service names are "apache2" instead.) Also, there's a 50% chance that the manifest you're writing will fail on the first run and then succeed on the second run, so be ready for that. The reason for this is covered in the NEXT learning puppet chapter, "Ordering." Good luck, N -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.