Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

Puppet setup failes on CentOS 8 #330

Open Netbulae opened 4 years ago

Netbulae commented 4 years ago

CentOS Linux release 8.1.1911 (Core) puppet-6.14.0-1.el8.noarch

Puppet installs but the directory /opt/puppetlabs etc doesn't exist.

[SUCCESS], [2020-08-11 10:01:54], [/usr/bin/yum -y install puppet], completed successfully. [RUNNING], [2020-08-11 10:01:54], [/usr/bin/systemctl enable puppet] Created symlink /etc/systemd/system/multi-user.target.wants/puppet.service → /usr/lib/systemd/system/puppet.service. [SUCCESS], [2020-08-11 10:01:54], [/usr/bin/systemctl enable puppet], completed successfully. [NOTIFICATION], [2020-08-11 10:01:54], [Running Puppet in noop mode to generate SSL certs] [NOTIFICATION], [2020-08-11 10:01:54], [Visit the UI and approve this certificate via Infrastructure->Capsules] [NOTIFICATION], [2020-08-11 10:01:54], [if auto-signing is disabled] [RUNNING], [2020-08-11 10:01:54], [/opt/puppetlabs/puppet/bin/puppet agent --test --noop --tags no_such_tag --waitforcert 10] /bin/sh: /opt/puppetlabs/puppet/bin/puppet: No such file or directory [ERROR], [2020-08-11 10:01:54], EXITING: [/opt/puppetlabs/puppet/bin/puppet agent --test --noop --tags no_such_tag --waitforcert 10] failed to execute properly.

evgeni commented 4 years ago

Where is the puppet binary located in your case?

evgeni commented 4 years ago

Using puppet-agent-6.19.0-1.el8.x86_64 from http://yum.puppet.com/puppet6/el/8/x86_64/ works.

Where is your puppet agent from?