Issue #9622 has been updated by Nigel Kersten. Status changed from Unreviewed to Accepted
Adding Dan/Jeff as watchers. ---------------------------------------- Bug #9622: puppet-accounts 'ensure => absent' removes group before user and fails https://projects.puppetlabs.com/issues/9622 Author: Mark Phillips Status: Accepted Priority: Normal Assignee: Category: Target version: Keywords: Branch: Affected URL: Affected PE version: After creating a user with accounts::user, if I subsequently want to remove it with 'ensure => absent' I get a failure: [root@mgrl001 accounts]# puppet agent -t info: Retrieving plugin info: Loading facts in facter_dot_d info: Loading facts in facter_dot_d info: Loading facts in facter_dot_d info: Loading facts in facter_dot_d info: Caching catalog for mgrl001 info: Applying configuration version '1316515665' err: /Stage[main]/Core/Accounts::User[markp]/Group[markp]/ensure: change from present to absent failed: Could not delete group markp: Execution of '/usr/sbin/groupdel markp' returned 8: groupdel: cannot remove the primary group of user 'markp' notice: /Stage[main]/Core/Accounts::User[markp]/User[markp]: Dependency Group[markp] has failures: true warning: /Stage[main]/Core/Accounts::User[markp]/User[markp]: Skipping because of failed dependencies Is this due to the ordering of user then group removal? -- 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.
