9dcbfe6fbb
This updates puppet version to 3.6 Change-Id: I37879153c68011c752919675a2d3416383aaf8e5
29 lines
672 B
Bash
Executable File
29 lines
672 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
# Script to build a puppet 3 master to infra/config standards
|
|
|
|
apt-get update
|
|
apt-get install git
|
|
git clone https://git.openstack.org/openstack-infra/config
|
|
|
|
cd config
|
|
|
|
cat > manifests/local.pp <<EOF
|
|
node default {
|
|
class { 'openstack_project::puppetmaster':
|
|
root_rsa_key => hiera('puppetmaster_root_rsa_key', 'XXX'),
|
|
update_slave => false,
|
|
sysadmins => hiera('sysadmins', []),
|
|
version => '3.6.',
|
|
ca_server => 'ci-puppetmaster.openstack.org',
|
|
puppetdb => false,
|
|
}
|
|
}
|
|
EOF
|
|
|
|
export PUPPET_VERSION=3
|
|
./install_puppet.sh
|
|
./install_modules.sh
|
|
puppet apply --modulepath=modules:/etc/puppet/modules manifests/local.pp
|