Issue #19218 has been updated by Wolf Noble.

in my specific case, I have a custom fact which decides if it should run or not 
based on the presence of a file, which is created by a manifest.

this fact will puke unless the environment is correct for it to run itself..
fewer nodes need this fact than the nodes that do NOT need this fact.
While I could write in logic code to test if I can make a network connection to 
a specific box or not, the end result would be roughly 400 connections not 
established to one established... 
that strikes me as 400 connection attempts that don't need to be made to 
satisfy this one fact's unicorn-ness.

Granted, my need COULD BE SATISFIED by doing this.

I still think there is enough of a use case for the ability to say 'hey, at the 
end of this catalog's run, restart myself' which would satiate many 
chicken-or-egg cases. This might be giving someone too much rope, and may lead 
to less elegant module design. It also might not.. 
It would be SOOPER sexy if I could trigger a fullstop catalog recompile and 
re-run at any point; but I could also see that leading to broken things, and I 
suspect that to be a much harder task that a simple 'request another catalog 
and re-run after I'm done here' implementation.





----------------------------------------
Feature #19218: Would love a clean way to tell puppet agent to restart itself
https://projects.puppetlabs.com/issues/19218#change-83110

Author: Wolf Noble
Status: Unreviewed
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


There are a myriad of reasons why, in the middle of a catalog compilation you 
might want to tell puppet agent "hey! restart yourself to pick up 
$whateverchange" Currently there's not a clean way of doing this. 

I'd like to request that a clean way of doing so be provided that's homogenous 
across foss/pe. perhaps notify => Puppet,   or triggerrestart => true, or...



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to