system-config/tools/puppetmaster_bootstrap.sh
Anita Kuno d616e1de6c Rename config => system-config in tools/
We are renaming openstack-infra/config to
openstack-infra/system-config. This patch addresses the one file
in the tools directory that needed editing.

Change-Id: Id078dc7031f833c6d1a58cddbcecf0666244c6a1
2014-10-17 15:04:52 -04:00

29 lines
693 B
Bash
Executable File

#!/bin/bash
set -x
# Script to build a puppet 3 master to infra/system-config standards
apt-get update
apt-get install git
git clone https://git.openstack.org/openstack-infra/system-config
cd system-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