Hi, On Sunday, 22 April 2012 02:15:19 UTC+1, Dennis Jacobfeuerborn wrote: [...]
> The twist I need to add though is that I only want to do this if a copy of > that file for the node exists on the server. If this file doesn't > exists then I want puppet to not replace the file on the client and not > restart the service. > > Is there a way to accomplish this sort of conditional execution? > Have a look on: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/exists.rb Maybe it will be of any use to you in this case. KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/7QWPj4QhYvkJ. 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-users?hl=en.
