Issue #2741 has been updated by R.I. Pienaar aka Volcane.

Could you try making the directory resources without the trailing /?

so just:

<pre>
file {"/etc/tigase-netlog":
   ensure => directory,
   owner => "tigase",
   group => "root",
   mode => "755"
}
</pre>

and then also update your require's to not have the /.

Gut feeling that it's the cause for this.


----------------------------------------
Bug #2741: Could not apply complete catalog: Could not retrieve dependency 
'File[A]' of File[B]
http://projects.reductivelabs.com/issues/2741

Author: Bart Verwilst
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.1rc2
Keywords: 
Branch: 


We have this in server.pp:


file {
    "/etc/tigase-netlog/":
            ensure  => directory,
            owner   => "tigase",
            group   => "root",
            mode    => "755";
    "/etc/tigase-netlog/init.properties":
            content => template("tigase/init.properties.erb"),
            owner   => "root",
            group   => "root",
            mode    => "644",
            notify  => Service ["tigase-netlog"],
            require => File ["/etc/tigase-netlog/"];
    "/etc/tigase-netlog/netlog.xml":
            source  => "puppet://puppet:8145/tigase/netlog.xml",
            owner   => "root",
            group   => "root",
            mode    => "644",
            notify  => Service ["tigase-netlog"],
            require => File ["/etc/tigase-netlog/"];
}

Since the upgrade from 0.24.8 to 0.25.1rc2, we started getting this error:

Oct 21 14:38:11 bleh01 puppetd[27126]: Could not apply complete catalog: Could 
not retrieve dependency 'File[/etc/tigase-netlog/]' of 
File[/etc/tigase-netlog/init.properties] at 
/usr/share/puppet/env/stable/services/tigase/manifests/server.pp:58



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to