Hi,

I am new to Puppet and We are trying to stop and start any one of the 
services running on the Puppet master /agent machine.

Here is the Scenario:


1. we have a Jboss service running on Puppet master and I am trying to kill 
this service thru puppet.(this service is runnning with my userid)

Service name is "java".

2. In /etc/puppet/manifests/nodes.pp I have written code like this

node "servername"
{

Service {

"java":
ensure = >"Stopped",

}
}

after this I ran this command 

puppet apply nodes.pp

Nothing has happend.Still the process is running.(I am able to see the 
process id : ps -ef|grep java)

3.After this i created a module and place this code in init.pp in 
/etc/puppet/modues/httpd/

node "servername"
{
inlcude httpd
}

puppet apply nodes.pp


Nothing happend.

Can you please guide us how to kill a process?








-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c81e168e-38f0-416c-b0c2-bd0124c9e760%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to