Issue #5626 has been updated by Dominic Maraglia.

Status changed from Accepted to Needs Decision
Assignee changed from Dominic Maraglia to Nigel Kersten

As this turns, it is not bug to return "2" from successful puppet agent run.  
Unless we plan to change this behaviour (I am not suggesting we do) then this 
issue should be closed. 
----------------------------------------
Bug #5626: puppet_system_test group.pp manifest manage members causes failures
https://projects.puppetlabs.com/issues/5626

Author: Dominic Maraglia
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: PE Test Suite
Target version: 
Patch: None
Keywords: groupadd members PE
centos client agent
Branch: 


This requires further investigation.  On CentOS 5.5 the "members" directive 
causes a failure.

>From Run.log:
BEGIN*** Group Resource: puppet agent --no-daemonize --verbose --onetime --test 
on HOST:cent55-2
OUTPUT (stdout, stderr, exitcode):
info: Retrieving plugin
info: Caching catalog for cent55-2
info: /Group[puppetgroup3]: Provider groupadd does not support features 
manages_members; not managing attribute members
info: Applying configuration version '1292975939'
notice: /Group[puppetgroup3]/ensure: created
notice: /Stage[main]/Puppet_system_test::Group/Group[puppetgroup2]/ensure: 
created
notice: /Stage[main]/Puppet_system_test::Group/Group[puppetgroup1]/ensure: 
created
notice: Finished catalog run in 1.00 seconds
<empty>
2


Manifest

# Class: puppet_system_test::group
class puppet_system_test::group {

  group { puppetgroup1:
    gid => 5001,
    ensure => present,
  }

  group { puppetgroup2:
    gid => 5002,
    ensure => present,
  }

  group { puppetgroup3:
    gid => 5003,
    members => [ puppetuser1, puppetuser2 ],  # this line is causing the failure
  }
}





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

Reply via email to