Skip to content

Commit

Permalink
Merge pull request redhat-openstack#10 from cwolferh/work2
Browse files Browse the repository at this point in the history
Work2
  • Loading branch information
jsomara committed May 4, 2013
2 parents 5a10d4c + 1a64c1f commit 23d66b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions foreman_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ augtool -s set /files/etc/puppet/puppet.conf/agent/server $PUPPETMASTER
# Puppet Plugins
augtool -s set /files/etc/puppet/puppet.conf/main/pluginsync true

# TODO: correctly configure iptables
service iptables stop

workdir=/root
pushd $workdir

Expand Down Expand Up @@ -113,6 +110,7 @@ yum-config-manager --enable rhel-6-server-optional-rpms
yum clean all
# install dependent packages
yum install -y http:https://yum.theforeman.org/releases/latest/el6/x86_64/rubygems-1.8.10-1.el6.noarch.rpm
yum install -y augeas puppet git policycoreutils-python
# Set PuppetServer
Expand All @@ -130,6 +128,8 @@ fi
# check in to foreman
puppet agent --test
sleep 1
puppet agent --test
/etc/init.d/puppet start
EOF
Expand Down

0 comments on commit 23d66b3

Please sign in to comment.