Skip to content

Commit

Permalink
SCL related stuff for generated client script
Browse files Browse the repository at this point in the history
  • Loading branch information
jistr committed May 27, 2013
1 parent 094c687 commit 0b6bc00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/foreman_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,17 @@ cat >/tmp/foreman_client.sh <<EOF
yum install -y augeas ruby193-puppet
# Set PuppetServer
augtool -s set /files/etc/puppet/puppet.conf/agent/server $PUPPETMASTER
augtool -s set /files/opt/rh/ruby193/root/etc/puppet/puppet.conf/agent/server $PUPPETMASTER
# Puppet Plugins
augtool -s set /files/etc/puppet/puppet.conf/main/pluginsync true
augtool -s set /files/opt/rh/ruby193/root/etc/puppet/puppet.conf/main/pluginsync true
# check in to foreman
puppet agent --test
scl enable ruby193 "puppet agent --test"
sleep 1
puppet agent --test
scl enable ruby193 "puppet agent --test"
/etc/init.d/puppet start
/etc/init.d/ruby193-puppet start
EOF

echo "Foreman is installed and almost ready for setting up your OpenStack"
Expand Down

0 comments on commit 0b6bc00

Please sign in to comment.