Puppet apply test creates puppet directory env
Make /etc/puppet/environments/production/environment.conf so that the apply test will find a default directory environment. Change-Id: I062949d6c23545c40690edc39302095b0dec3c84
This commit is contained in:
parent
4fda217d25
commit
3b563fb59e
@ -90,6 +90,8 @@ HOST=`echo $HOSTNAME |awk -F. '{ print $1 }'`
|
||||
echo "127.0.1.1 $HOST.openstack.org $HOST" >> /tmp/hosts
|
||||
sudo mv /tmp/hosts /etc/hosts
|
||||
|
||||
sudo mkdir -p /etc/puppet/environments/production
|
||||
sudo touch /etc/puppet/environments/production/environment.conf
|
||||
sudo mkdir -p /var/run/puppet
|
||||
sudo -E bash -x ./install_modules.sh
|
||||
echo "Running apply test on these hosts:"
|
||||
|
Loading…
x
Reference in New Issue
Block a user