I have followed a few different tutorials, including the puppetlabs guide and I keep getting the same issue on VMs and on the servers. I began by installing puppet on machine: puppet001, and puppet master on machine: puppetMaster. The hosts files were then configured so that both machines were reachable by the machine name. The puppet.conf files were then updated, and a cert was generated and sent from puppet001 to puppetMaster. PuppetMaster signed the cert. After this I tried to run "puppet agent —test" and the below info is returned. info: Retrieving plugin err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using ''eval_generate: Connection refused - connect(2) err: Could not retrieve plugin: execution expired info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb err: Could not retrieve catalog from remote server: Connection refused - connect(2) warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: Connection refused - connect(2) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/-4iE-s_Hw_sJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Looks like a connectivity issue to me.. here are my steps to get puppet installed install puppet master with passenger 1 - install centos 6.3 minimal 2 - configure IP address and hostname - do not set a fqdn hostname. vi /etc/sysconfig/network-scripts/ifcfg-eth0 Assign private static IP address vi /etc/resolv.conf update accordingly (domain search and nameserver) 2 - run yum update -y 3 - install vmware tools rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub rpm --import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub cat <<EOT > /etc/yum.repos.d/vmware-tools.repo [vmware-tools] name=VMware Tools #baseurl=http://packages.vmware.com/tools/esx/5.0u1/rhel5/\$basearch baseurl=http://packages.vmware.com/tools/esx/5.0u1/rhel6/\$basearch enabled=1 gpgcheck=1 EOT yum -y install vmware-tools-esx-nox 4 - set iptables (modify where applicable) iptables -I INPUT 5 -s 10.1.1.0/24 -m tcp -p tcp --dport 80 -j ACCEPT iptables -I INPUT 6 -s 10.1.1.0/24 -m tcp -p tcp --dport 8140 -j ACCEPT service iptables save iptables -L 5 - Install EPEL and puppet repos rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm rpm -ivh http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-6.noarch.rpm 6 - install puppet master and puppet agent yum install puppet-server puppet -y 7 - create a puppet ca cert puppet master --no-daemonize --verbose (note - ctrl+c to break out of puppet master deamon 8 - install system tools to install passenger yum -y install httpd httpd-devel ruby-devel rubygems mod_ssl make gcc gcc-c++ curl-devel openssl-devel zlib-devel make wget 9 - install rack using gem gem install rack 10 - install passenger using gem gem install passenger 11 - Set up passenger passenger-install-apache2-module 11 - Config rack.conf cp /usr/share/puppet/ext/rack/files/apache2.conf /etc/httpd/conf.d/rack.conf update the rack.conf with the puppet 3.0.1 SSL directory path (var/llis/puppet/ssl) and change hostname for certs. (inclue passenger output from above step 11) 12 - create rack directories mkdir -p /etc/puppet/rack/public/ 13 - copy config.ru rack file to rack web directory cp /usr/share/puppet/ext/rack/files/config.ru /etc/puppet/rack/ 14 - change ownership of config.ru rack file to puppet chown puppet:puppet /etc/puppet/rack/config.ru 15 - set httpd to start on boot and puppetmaster to not start chkconfig httpd on chkconfig puppetmaster off 16 start apache service httpd start -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/GTH8Q8zF96gJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Try turning off your firewall and iptables setenforce 0 and service iptables stop service ip6tables stop amd On Wednesday, December 12, 2012 9:20:24 AM UTC-6, Robert Pemberton wrote:> > I have followed a few different tutorials, including the puppetlabs guide > and I keep getting the same issue on VMs and on the servers. I began by > installing puppet on machine: puppet001, and puppet master on machine: > puppetMaster. The hosts files were then configured so that both machines > were reachable by the machine name. The puppet.conf files were then > updated, and a cert was generated and sent from puppet001 to puppetMaster. > PuppetMaster signed the cert. After this I tried to run "puppet agent > —test" and the below info is returned. > > > info: Retrieving plugin > > err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional > resources using ''eval_generate: Connection refused - connect(2) > > err: Could not retrieve plugin: execution expired > > info: Loading facts in > /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb > > info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb > > info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb > > info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb > > info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb > > info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb > > err: Could not retrieve catalog from remote server: Connection refused - > connect(2) > > warning: Not using cache on failed catalog > > err: Could not retrieve catalog; skipping run > > err: Could not send report: Connection refused - connect(2) >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.