I have written the manifest that creates the cron jobs and those
actully are created ok, but my issue is that i have the following
service { "pe-puppet-agent":
enable => false,
ensure => stopped,
}
and for some reason it will set the enable to false but it does not
stop the puppet service. Any ideas?
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
On Sep 22, 2011, at 11:37 AM, mbargar wrote:> I have written the manifest that creates the cron jobs and those > actully are created ok, but my issue is that i have the following > service { "pe-puppet-agent": > enable => false, > ensure => stopped, > } > and for some reason it will set the enable to false but it does not > stop the puppet service. Any ideas?---- been there, done that and even have a puppet t-shirt (thanks Nigel) assuming you have /etc/init.d/pe-puppet-agent file, try service { "pe-puppet-agent": enable => false, ensure => stopped, hasstatus => true, hasrestart => true, } Craig -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Marshall, welcome! I''m pretty sure the service is pe-puppet and not pe-puppet-agent… Check in /etc/init.d. -- Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September 22nd and 23rd in Portland, OR. Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 On Thursday, September 22, 2011 at 11:37 AM, mbargar wrote:> I have written the manifest that creates the cron jobs and those > actully are created ok, but my issue is that i have the following > service { "pe-puppet-agent": > enable => false, > ensure => stopped, > } > and for some reason it will set the enable to false but it does not > stop the puppet service. Any ideas? > > -- > 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 (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Eric, Doing "/etc/init.d | grep puppet" displays "pe-puppet-agent" Craig, I have added the "hasstatus" and "hasrestart" but to no avail. On Sep 22, 3:24 pm, Eric Shamow <e...@puppetlabs.com> wrote:> Hi Marshall, welcome! > > I''m pretty sure the service is pe-puppet and not pe-puppet-agent… > > Check in /etc/init.d. > > -- > Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September 22nd and 23rd in Portland, OR. > > Eric Shamow > Professional Serviceshttp://puppetlabs.com/ > (c)631.871.6441 > > > > On Thursday, September 22, 2011 at 11:37 AM, mbargar wrote: > > I have written the manifest that creates the cron jobs and those > > actully are created ok, but my issue is that i have the following > > service { "pe-puppet-agent": > > enable => false, > > ensure => stopped, > > } > > and for some reason it will set the enable to false but it does not > > stop the puppet service. Any ideas? > > > -- > > 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 (mailto:puppet-users@googlegroups.com). > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@googlegroups.com). > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.- Hide quoted text - > > - Show quoted text --- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
ah but there is a direct relationship between
service { "$SOME_FILE_NAME": }
and /etc/init.d/$SOME_FILE_NAME
which is what we were both trying to tell you in different ways
Craig
On Sep 22, 2011, at 12:38 PM, mbargar wrote:
> Eric,
> Doing "/etc/init.d | grep puppet" displays
"pe-puppet-agent"
>
> Craig,
> I have added the "hasstatus" and "hasrestart" but to no
avail.
>
>
>
> On Sep 22, 3:24 pm, Eric Shamow <e...@puppetlabs.com> wrote:
>> Hi Marshall, welcome!
>>
>> I''m pretty sure the service is pe-puppet and not
pe-puppet-agent…
>>
>> Check in /etc/init.d.
>>
>> --
>> Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September
22nd and 23rd in Portland, OR.
>>
>> Eric Shamow
>> Professional Serviceshttp://puppetlabs.com/
>> (c)631.871.6441
>>
>>
>>
>> On Thursday, September 22, 2011 at 11:37 AM, mbargar wrote:
>>> I have written the manifest that creates the cron jobs and those
>>> actully are created ok, but my issue is that i have the following
>>> service { "pe-puppet-agent":
>>> enable => false,
>>> ensure => stopped,
>>> }
>>> and for some reason it will set the enable to false but it does not
>>> stop the puppet service. Any ideas?
>>
>>> --
>>> 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
(mailto:puppet-users@googlegroups.com).
>>> To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
(mailto:puppet-users+unsubscribe@googlegroups.com).
>>> For more options, visit this group
athttp://groups.google.com/group/puppet-users?hl=en.- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
>
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired
success? Let us help!
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Ok i ran it in noop to see what would happen and i guess that my noop command was not run quick enough, it seems to be working now. thanks for the help. On Sep 22, 3:38 pm, mbargar <marshall.bar...@davita.com> wrote:> Eric, > Doing "/etc/init.d | grep puppet" displays "pe-puppet-agent" > > Craig, > I have added the "hasstatus" and "hasrestart" but to no avail. > > On Sep 22, 3:24 pm, Eric Shamow <e...@puppetlabs.com> wrote: > > > > > Hi Marshall, welcome! > > > I''m pretty sure the service is pe-puppet and not pe-puppet-agent… > > > Check in /etc/init.d. > > > -- > > Join us for PuppetConf (http://www.bit.ly/puppetconfsig), September 22nd and 23rd in Portland, OR. > > > Eric Shamow > > Professional Serviceshttp://puppetlabs.com/ > > (c)631.871.6441 > > > On Thursday, September 22, 2011 at 11:37 AM, mbargar wrote: > > > I have written the manifest that creates the cron jobs and those > > > actully are created ok, but my issue is that i have the following > > > service { "pe-puppet-agent": > > > enable => false, > > > ensure => stopped, > > > } > > > and for some reason it will set the enable to false but it does not > > > stop the puppet service. Any ideas? > > > > -- > > > 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 (mailto:puppet-users@googlegroups.com). > > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com (mailto:puppet-users+unsubscribe@googlegroups.com). > > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text --- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.