On Friday, July 27, 2012 8:15:17 AM UTC-5, A_SAAS wrote:
>
> Yes,
>
> I search in the resource documentation but didn't see the attribute: links.
>

I don't know what to tell you on that.  It's definitely documented: 
https://docs.puppetlabs.com/references/latest/type.html#file
 

>
> But if I set the following resource:
>     file { $name:
>         ensure => file,
>         links  => follow,
>         path   => 
> "${common::params::tmp_dir}/${name}-${::architecture}-${::lsbdistcodename}.${extension}",
>         owner  => 'root',
>         group  => 'root',
>         mode   => '0644',
>         source => $source_real,
>     }
>
> I have the following error on the agent:
> err: 
> /Stage[main]/Bind9_chroot::Install/Common::Libs::Install_archive_package[libisc83]/File[libisc83]/ensure:
>  
> change from absent to present failed: Could not rename temporary file 
> /var/lib/puppet/tmp/libisc83-amd64-squeeze
> .deb.puppettmp_6125 to /var/lib/puppet/tmp/libisc83-amd64-squeeze.deb: 
> File written to disk did not match checksum; discarding changes ( vs 
> {md5}d41d8cd98f00b204e9800998ecf8427e) at 
> /etc/puppet/modules/common/manifests/libs
> /install_archive_package.pp:54 at 
> /etc/puppet/modules/common/manifests/libs/install_archive_package.pp:54
>
>
> Any idea?
>

Looking carefully at that message, I suspect that an empty file or no file 
at all was recorded in the location where Puppet thought it had written 
it.  This could signal a Puppet bug, but it's premature to say so 
definitively.  The manifest code you're working with seems fairly complex; 
I'd recommend creating a simple test case to narrow down where the problem 
may be.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/bFFImbF-I_wJ.
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