[Pkg-puppet-devel] Bug#698294: Bug#698294: Bug#698294: Bug#698294: diff for NMU 2.7.18-2.1

Stig Sandbeck Mathisen ssm at fnord.no
Fri Mar 15 20:40:20 UTC 2013


Stig Sandbeck Mathisen <ssm at debian.org> writes:

> The patches apply, and the tests run fine. All that remains is to see
> it actually work in practice, before I upload 2.7.18-4, and ask for a
> freeze exemption.

,----[ setup ]
| # echo testing > testfile
| # ln -s testfile testlink
| # md5sum testfile 
| eb1a3227cdc3fedbaec2fe38bf6c044a  testfile
`----

,----[ test with 2.7.18-3 ]
| # dpkg -i /home/ssm/Debian/pbuilder/unstable_result/{puppet-common,puppetmaster-common,puppetmaster}_2.7.18-3_all.deb
| # puppet resource file $(pwd)/newfile ensure=file links=follow source=$(pwd)/testlink mode=0644
| err: /File[/root/newfile]/ensure: change from absent to present failed: Could not rename temporary file /root/newfile.puppettmp_1534 to /root/newfile: File written to disk did not match checksum; discarding changes ( vs {md5}d41d8cd98f00b204e9800998ecf8427e)
| file { '/root/newfile':
|   ensure => 'absent',
| }
`----

,----[ test with 2.7.18-4 ]
| # dpkg -i /home/ssm/Debian/pbuilder/unstable_result/{puppet-common,puppetmaster-common,puppetmaster}_2.7.18-4_all.deb
| # puppet resource file $(pwd)/newfile ensure=file links=follow source=$(pwd)/testlink mode=0644
| notice: /File[/root/newfile]/ensure: defined content as '{md5}eb1a3227cdc3fedbaec2fe38bf6c044a'
| file { '/root/newfile':
|   ensure  => 'file',
|   content => '{md5}eb1a3227cdc3fedbaec2fe38bf6c044a',
|   group   => '0',
|   mode    => '644',
|   owner   => '0',
| }
`----

I'm happpy. :)

-- 
Stig Sandbeck Mathisen



More information about the Pkg-puppet-devel mailing list