Hi, here is an interesting problem. I don''t want to remove sendmail from a system, BUT, it should never be running unless an admin starts it (and shuts it down) so I was wondering if there might be a way to use "ensure" to make sure a process is NOT running.. Any ideas? thanks ~J~ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Bjørn Dyre Dyresen
2008-Sep-10 14:10 UTC
[Puppet Users] Re: Ensuring a process is NOT running
You can use ensure => stopped to ensure it is not running. Regards 2008/9/10 Jewels <IslandJewel@gmail.com>> > Hi, > > here is an interesting problem. I don''t want to remove sendmail from a > system, BUT, it should never be running unless an admin starts it (and > shuts it down) so I was wondering if there might be a way to use > "ensure" to make sure a process is NOT running.. > > Any ideas? > > thanks > ~J~ > > >--~--~---------~--~----~------------~-------~--~----~ 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> here is an interesting problem. I don''t want to remove sendmail from a > system, BUT, it should never be running unless an admin starts it (and > shuts it down) so I was wondering if there might be a way to use > "ensure" to make sure a process is NOT running..service{''sendmail'': ensure => stopped, enable => false, } ? greets pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Oh sure - so simple - couldn''t you have made it harder so i would not feel so stupid ;-) Thank you! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---