Hi Martijn,

Intriguing construction but let's not go into the architecture of what you're trying to accomplish too much.

Some questions.

1. How does the queue.sh script get deployed to its final location?
2. How does it get executed the first time around?

For the init system to pick up a new service, you'll need to register it. After dropping a file in /etc/init, you need to run initctl reload-configuration for Upstart to pick it up. A sequence like that is usually easy to do in Puppet.

If you make your service resource require both the new file in /etc/init and an exec-resource that kicks the initctl command, Puppet should then have no problems managing your new service through upstart because the environment will be properly prepared for it.

Best regards,
Bas

--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f3ec00e1-72d7-99b1-b539-fd6f5cba8fa5%40area536.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to