Is there any way to create a parent directory for a file if it doesn't
exist?
Trying this:
file { "/etc/crontabs/$title.crontab":
source => "puppet:///crontabs/$title.crontab",
ensure => present,
owner => $user,
recurse => true
}
but it's failing because /etc/crontabs doesn't exist.
Thanks :)
Tim
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---