On Jan 28, 2011 6:12 AM, "Patrick Cervicek" <
[email protected]> wrote:
>
> Is there a way to create a file only under certain conditions?
Totally, and we did it routinely. The process is perhaps not quite as simple
as you might expect though:
You need to write a custom fact to run on the client, and which reports the
presence or absence of the device to the server. Your manifest can then use
that fact to determine what other actions to take.
Custom facts in modules are pretty trivial to write. :)
Regards,
Daniel
--
Puppet Labs Developer –http://puppetlabs.com
Daniel Pittman <[email protected]>
Contact me via gtalk, email, or phone: +1 (877) 575-9775
Sent from a mobile device. Please forgive me if this is briefer than usual.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.