Hey, thanks for sharing your experience.

On 12/24/2014 12:18 AM, Matyas A. Sustik wrote:
> The exec only runs when /usr/local/bin/python2.7 does not exist, but
> the installation script gets created on the nodes unconditionally.

That's actually well done. Barring that I have been doing things wrong
for quite a while (which happens), it is quite normal for agent nodes to
be littered with some files that are needed during provisioning only.
It's the most direct way to have Puppet make sure that the process works
from start to finish.

With that said, there is some cool work in progress to allow Puppet to
do that, and *not* define each state as permanent:
https://forge.puppetlabs.com/puppetlabs/transition

You should not use that in production yet, but more elegant solutions
are likely feasible in the foreseeable future.

Regards,
Felix

-- 
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/5499FDF5.1020106%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to