Bug #25685
closedforeman-installer missing puppet group
Description
Hello,
when I try to install the foreman with the katello scenario by this command
foreman-installer --scenario katello \
--foreman-initial-organization "Capensis" \
--foreman-initial-location "Lille" \
--foreman-proxy-content-puppet=false \
--puppet-agent=false \
--no-enable-puppet \
--puppet-server=false \
--puppet-server-ca=false \
--foreman-proxy-puppet=false \
--foreman-proxy-puppetca=false \
--foreman-proxy-manage-puppet-group=false \
--foreman-proxy-dhcp=false \
--foreman-proxy-dns=false \
--foreman-proxy-tftp=false \
--foreman-puppetrun=false
I get an error telling me that the puppet group doesn't exist
For the installation to succeed, I have to do this.
groupadd puppet
Technical environment :
Centos 7.5.1804
Foreman 1.19.0-1
Katello 3.8.0-5
Thanks in advance.
Rgs,
Sophian Mehboub
Updated by Tomer Brisker almost 6 years ago
- Project changed from Foreman to Installer
Updated by Ewoud Kohl van Wijngaarden almost 6 years ago
- Category set to foreman-installer script
- Triaged changed from No to Yes
- Found in Releases 1.19.0, 1.20.1 added
This is because puppet-foreman defaults to user_groups = ['puppet']. In the katello scenario this isn't needed and we should change the default in the scenario.
I'm not sure you can set the array to empty via command line parameters but possibly an alternative workaround is passing in --foreman-user-groups foreman.
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Related to Bug #26330: Foreman Proxy module is unconditionally assigned to the puppet group added
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Is duplicate of Bug #16241: Puppet group configured on 'foreman' user without 'puppet' module selected added
Updated by Ewoud Kohl van Wijngaarden over 5 years ago
- Status changed from New to Duplicate
- Fixed in Releases 1.22.0 added