Issue #7357 has been reported by Rolf Russell.

----------------------------------------
Bug #7357: manifest name can't equal service name (ex: httpd.pp)
https://projects.puppetlabs.com/issues/7357

Author: Rolf Russell
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.4
Keywords: 
Branch: 


I'm going through the puppet tutorial and got to the exercise to create a 
manifest to ensure httpd is running.  So I created a file called httpd.pp:
  service { 'httpd':
      ensure => running
  }
But when I ran 'puppet httpd.pp' it didn't launch httpd.  Turning on debug it 
seems like puppet is grepping 'ps -ef' to check for httpd running and finds the 
puppet process itself (because of the file name).  It then happily exits 
thinking that httpd is already running.

I'm running the puppet enterprise VM linked off the tutorial on VMWare Fusion 
2.  I had to tell Fusion that centos was redhat 5 because Fusion 2 doesn't 
support centos.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to