Fellow Puppet Users,
 
I was assigned to learn how puppet works to integrate it into our 
department and I am trying to go through the tutorial. I am a beginner in 
IT work and am slowly starting to understand these processes. Right now I 
am stuck on the last part of the Manifests tutorial, found at the bottom of 
this page: http://docs.puppetlabs.com/learning/manifests.html.
 
I am on the first exercise, where it instructs the user to write and apply 
a manifest to install tge Apache package (httpd), then make sure the Apache 
service (also httpd) is running. I feel as if I am on the right track, but 
after hours of googling and research, I was pulled in a few different 
directions. If anyone could explain this in as detailed and simple of a way 
possible to help me through this, it would be extremely appreciated.
 

Attempt 1:
 
# /root/learning-manifests/1.apache.pp

 

package {‘httpd’:

                ensure => latest,

}

Service {httpd’:

                ensure => stopped,

                enable => false,

}

 

Attempt 2:
 
# /root/learning-manifests/2.apache.pp

 

package {‘apache’:

                ensure => present,

}

service {‘httpd’:

                ensure => running,

}

 

Attempt 3:
 
# /root/learning-manfiests/3.apache.pp

 

class {‘apache’: }

 

-- 
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.


Reply via email to