On Nov 5, 2008, at 5:16 AM, AndrewHolt wrote:
>
> Hi,
>
> I have a legacy (started via /etc/rc3.d/ script) service that I want
> to restart when its config file changes.
>
> The service command fails because it assumes the use of svcadm.
>
> I guess what I want to do is on the config changing, and being
> uploaded from the master it runs a script.
>
> Is there a simple example of how to do this ?
You can specify ''provider => init'' or something similar --
pick the
approriate provider, and configure as you want.
Or use ''base'' and just specify how to use the rc script to
start/stop/
status/restart.
--
When a man tells you that he got rich through hard work, ask
him: ''Whose?'' --Don Marquis
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---