On Fri, 2010-12-03 at 06:13 +0200, Paul Johnson wrote:
> Hi All,
> 
> sorry if this was discussed before but I didn't find any solution for
> my problem.
> 
> Test site.pp consists of 1 line:
> 
> file { "/tmp/bar": audit => content } exec { '/usr/bin/true':
> refreshonly => true, subscribe => File['/tmp/bar'] }
> 
> and it produces this error every time:
> 
> err: /Stage[main]//Node[localhost]/File[/tmp/bar]: Could not evaluate:
> Could not retrieve content for {md5}0d436949d23842605ecef4164ec54381
> from filebucket: File not found at /etc/puppet/manifests/site.pp:1
> notice: /Stage[main]//Node[localhost]/Exec[/usr/bin/true]: Dependency
> File[/tmp/bar] has failures: true
> warning: /Stage[main]//Node[localhost]/Exec[/usr/bin/true]: Skipping
> because of failed dependencies
> notice: Finished catalog run in 0.06 seconds
> 
> I'm running latest versions of software: puppet-2.6.3-0.3.rc3.el5 and
> CentOS release 5.5
> 
> Does anyone have any thought what I'm doing wrong?
> 
> Thanks in advance for any reply.

Have you tried running puppet --parseonly against the manifest to see
what it comes back with?

Also, I'd recommend adding an 'ensure => file' to the File[] stanza to
make sure the file is created if it doesn't exist - it looks like it's
trying to find the file and failing.

M.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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