Hi

>> Try with:
>>
>>  require => File['etc/openvpn/keys']
>>
>> In your last three file statements. Puppet does care about ordering unless
>> you tell it to. You can't copy files into a directory that does not exists.
>>
>> And regarding when you are creating a directory, I would skip ensure =>
>> present Just stick to ensure => directory.
>>
> It should of course be, does not care....

puppet does automagically care of the order of files in the same path.

so:

file{'/tmp/a':
        ensure => present,
}

file{'/tmp/a/b':
        ensure => present,
}

works always.

the question is more: what means "it doesn't get copied" ? What's the
error that appears, can you run it with --debug, which version are you
using etc.?

cheers pete

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to