probably means I will have to hard-code a path to a directory somewhere but
that shouldn't be to big of a deal.
On Sunday, April 22, 2012 8:49:50 PM UTC+2, matti wrote:
Hi,
On Sunday, 22 April 2012 02:15:19 UTC+1, Dennis Jacobfeuerborn wrote:
[...]
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
--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: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?
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/-/5HEbo-N91H8J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.