Hi, I have a file resource that brings files in the diretory "/usr/local/nagios/libexec" from source1 and I have a second resource file that should bring file in that same directory but from an other source. But the result is that only the files from file { "/usr/local/nagios/libexec": do exit in the directory. I tried remote and true. The resource file { "/usr/local/nagios/libexec": deletes all the files in the directory "/usr/local/nagios/libexec" that came with file { "/usr/local/nagios": Can somebody please help me?
file { "/usr/local/nagios": ensure => directory, owner => "nagios", group => "nagios", mode => 755, source => "$source", recurse => true, require => User ['nagios'], schedule => "nagios_client-schedule", } file { "/usr/local/nagios/libexec": ensure => directory, owner => "nagios", group => "nagios", mode => 755, source => "puppet:///extra_files/basisapplikationen/monitoring/nagios/client/custom-plugins", recurse => remote, require => File ['/usr/local/nagios'], schedule => "nagios_client-schedule", } Best regards Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.