Actions
Bug #14942
closedpuppet group fails when added to foreman user before puppetserver installation
Description
When performing a full installation of Foreman on a Debian system with Puppet AIO, the puppet group gets created during the Puppet run.
Previously in a non-AIO installation, the group would probably be created during installation of the Puppet agent package, which is an installer dependency.
[ERROR 2016-05-06 08:32:42 main] Could not set groups on user[foreman]: Execution of '/usr/sbin/usermod -G puppet foreman' returned 6: usermod: group 'puppet' does not exist [ERROR 2016-05-06 08:32:42 main] /Stage[main]/Foreman::Config/User[foreman]/groups: change from to puppet failed: Could not set groups on user[foreman]: Execution of '/usr/sbin/usermod -G puppet foreman' returned 6: usermod: group 'puppet' does not exist [ WARN 2016-05-06 08:37:57 main] /Stage[main]/Puppet::Server::Install/Package[puppetserver]/ensure: created [ WARN 2016-05-06 08:38:20 main] /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]/groups: groups changed '' to ['puppet']
However on an RPM AIO installation the ordering happens to be a bit different:
[ WARN 2016-05-05 13:09:47 main] /Stage[main]/Puppet::Server::Install/Package[puppetserver]/ensure: created [ WARN 2016-05-05 13:09:48 main] /Stage[main]/Puppet::Server::Config/File[/opt/puppetlabs/puppet/cache/reports]/group: group changed 'root' to 'puppet' [ WARN 2016-05-05 13:11:37 main] /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]/groups: groups changed '' to ['puppet'] [ WARN 2016-05-05 13:12:47 main] /Stage[main]/Foreman::Config/User[foreman]/groups: groups changed '' to ['puppet']
Updated by Dominic Cleal over 8 years ago
- Blocks Tracker #8447: Puppet 4 support added
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
Updated by Dominic Cleal over 8 years ago
- Status changed from Assigned to Ready For Testing
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-foreman|dc4ceb533b25c3c6a8811c6c32b5d012837d03be.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release set to 136
Updated by Tom Downes over 8 years ago
- Copied to Bug #15804: adding foreman user to puppet group fails if puppetserver disabled added
Actions