Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

two errors with foreman and puppet

$
0
0
I configure puppet like this on centos7 is a test server at home and so certificates are autosigned i do those commands rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm yum install puppet-server puppet master --verbose --no-daemonize #ok add some ports to firewall for i in 53 80 443 3000 3306 5910-5930 5432 8140 8443;do firewall-cmd --permanent --zone=internal --add-port=$i/tcp;done for i in 53 67-69 ;do firewall-cmd --permanent --zone=internal --add-port=$i/udp;done then install foreman yum -y install epel-release http://yum.theforeman.org/releases/1.7/el7/x86_64/foreman-release.rpm yum -y install foreman-installer go to work and.. ERROR! puppet agent --test --verbose --debug Debug: Caching connection for https://centos71.giallo.privata:8140 Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed to find centos71.giallo.privata via exec: Execution of '/etc/puppet/node.rb centos71.giallo.privata' returned 1: then i try /etc/puppet/node.rb centos71.giallo.privata Another error Error retrieving node centos71.giallo.privata: Net::HTTPForbidden Check Foreman's /var/log/foreman/production.log for more information. Check the log and... > Processing by> HostsController#externalNodes as YML > Parameters:> {"name"=>"centos71.giallo.privata"} No> smart proxy server found on> ["centos71.giallo.privata"] and is not> in trusted_puppetmaster_hosts> Redirected to> https://centos71.giallo.privata/users/login> Filter chain halted as> :require_puppetmaster_or_login> rendered or redirected Completed 403> Forbidden in 9ms (ActiveRecord: 1.0ms) on formeman production.log What's wrong?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>