Issue #3170 has been updated by Michael Stahnke.
Description updated
Status changed from Unreviewed to Closed
I am unable to reproduce this behavior in 2.7.9 on Centos5.
[root@centos tests]# ls -al / | grep tmp
drwxrwxrwt 4 root root 4096 Jan 21 09:36 tmp
[root@centos tests]# cat foo.pp
file { "/tmp": mode => 1777, checksum => mtime, }
[root@centos tests]# puppet apply --debug --verbose foo.pp | grep tmp
dnsdomainname: Unknown host
debug: /File[/tmp]/seluser: Found seluser default 'system_u' for /tmp
debug: /File[/tmp]/selrole: Found selrole default 'object_r' for /tmp
debug: /File[/tmp]/seltype: Found seltype default 'tmp_t' for /tmp
[root@centos tests]# ls -al / | grep tmp
drwxrwxrwt 4 root root 4096 Jan 21 09:36 tmp
[root@centos tests]# vim foo.pp
[root@centos tests]# cat foo.pp
file { "/tmp": mode => 1777, checksum => undef, }
[root@centos tests]# puppet apply --debug --verbose foo.pp | grep tmp
dnsdomainname: Unknown host
debug: /File[/tmp]/seluser: Found seluser default 'system_u' for /tmp
debug: /File[/tmp]/selrole: Found selrole default 'object_r' for /tmp
debug: /File[/tmp]/seltype: Found seltype default 'tmp_t' for /tmp
[root@centos tests]# ls -al / | grep tmp
drwxrwxrwt 4 root root 4096 Jan 21 09:36 tmp
[root@centos tests]#
----------------------------------------
Feature #3170: Please re-introduce checksum => nosum for file resources
https://projects.puppetlabs.com/issues/3170
Author: Tim Stoop
Status: Closed
Priority: Normal
Assignee:
Category: file
Target version:
Affected Puppet version: 0.25.4
Keywords:
Branch:
According to #558, there used to be a 'nosum' option for the file resource. We
have a lot of resource defined like this:
{{{
file { "/tmp":
mode => 1777,
}
}}}
Currently, for each of these resources it calculates the checksum every puppet
run. It would be convenient for us if it only checks the directory mode or
other specifically set options, but not the checksum. Saves a lot of time and
output we don't need. I think more people would find this convenient.
Also, currently the documentation seems to hint that it's possible to disable
checksumming (it uses the phrase "The default checksum parameter, if checksums
are enabled, is md5.").
--
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://projects.puppetlabs.com/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.