Issue #5153 has been updated by Nigel Kersten. Status changed from Needs more information to Accepted Assignee deleted (R.I. Pienaar) Priority changed from Normal to High
---------------------------------------- Bug #5153: Ability to run --onetime in the background while a daemon is idle https://projects.puppetlabs.com/issues/5153 Author: R.I. Pienaar Status: Accepted Priority: High Assignee: Category: Target version: Affected Puppet version: 2.6.2 Keywords: Branch: When the puppetd daemon is running it has the pid file preventing other background daemons. When running --onetime --no-daemonize - a foreground run - this is fine, pid file doesnt prevent the --onetime run but if you wanted to do a backgrounded --onetime run the pid file will prevent that run from happening. We should arrange so that a backgrounded --onetime is allowed if the other daemon isnt actively also doing a run. Additionally if you do --onetime --splay 30 the new daemon should background and only bail out the run when it starts at the end of the splay period if the background daemon is then doing a run. The context of that from mcollective I'd like to schedule --onetime runs - with optional splay. In that case I start the puppetd in the background and report back if that was successful or not leaving the actual running up to the puppetd that will then have disowned itself from the mcollectived so it can run at its own schedule using splay or whatever is configured. This is possibly closely related to #3757 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
