Issue #1640 has been updated by jamtur01.

Status changed from Ready for Checkin to Closed

Pushed in commit:"2153baed8c6b99f9b77ed2f63fb24433bd72058c" in branch 0.24.x
----------------------------------------
Bug #1640: group for file set on every run
http://projects.reductivelabs.com/issues/show/1640

Author: bart
Status: Closed
Priority: High
Assigned to: jamtur01
Category: group
Target version: 0.24.6
Complexity: Unknown
Affected version: 0.24.4
Keywords: 


Puppet always sets the group for files when using Puppet from a git checkout of 
git://github.com/jamtur01/puppet.git (commit 
80e5c111fd2d227ef076fd0409213f30af13bc56), even though the group is already 
correct:

<pre>
$ cat test.pp 
#!/usr/bin/env puppet

file { "/tmp/test":
        owner => "bart",
        group => "users",
        content => "foo",
}
$ ls -l /tmp/test 
-rw-r--r-- 1 bart users 3 Oct  8 15:12 /tmp/test
$ ./test.pp --debug
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Finishing transaction 23947101243700 with 0 changes
debug: //File[/tmp/test]/checksum: Initializing checksum hash
debug: //File[/tmp/test]: Creating checksum 
{md5}acbd18db4cc2f85cedef654fccc4a4d8
debug: //File[/tmp/test]: Changing group
debug: //File[/tmp/test]: 1 change(s)
notice: //File[/tmp/test]/group: group changed 'users' to 'users'
debug: Finishing transaction 23947100318220 with 1 changes
$ ./test.pp --debug
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Finishing transaction 23734632218800 with 0 changes
debug: //File[/tmp/test]/checksum: Initializing checksum hash
debug: //File[/tmp/test]: Creating checksum 
{md5}acbd18db4cc2f85cedef654fccc4a4d8
debug: //File[/tmp/test]: Changing group
debug: //File[/tmp/test]: 1 change(s)
notice: //File[/tmp/test]/group: group changed 'kumina' to 'kumina'
debug: Finishing transaction 23734631293160 with 1 changes
</pre>

Reverting 
http://github.com/jamtur01/puppet/commit/63ad84587892e9cab851cf516f7a381c5ea51f90
 fixes this for me.


----------------------------------------
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