On Tue, Nov 15, 2011 at 04:40:29PM -0800, Matthew O'Connor wrote: > Hi all, > > I'm working thru the tutorial (http://docs.puppetlabs.com/learning/ > manifests.html) using the VM provided (http://www.puppetlabs.com/ > downloads/learning/learn_puppet_centos_ovf.2011.07.15.tar.bz). When > asked to write a manifest that ensures httpd is running, I wrote: > > service { 'httpd': > ensure => running, > enable => true, > } > > I named this manifest "httpd.pp". When I ran `puppet apply httpd.pp` > nothing happens. If I rename this manifest to something else `puppet > apply` works as I would expect.
puppet apply --debug --verbose httpd.pp If the service is already running and enabled then puppet won't do anything. > This was/is extremely confusing. I figured what better way to name the > manifest than to name the service it's ensuring. Is this a known > issue? Documentation problem? Something else? I don't know that filenames of manifests affect anything. Running with debug and verbose flags as above will show you more about what's going on. > Thanks for you help. > > Matthew > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.