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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to