system-config/tools/puppetmaster_bootstrap.sh
Paul Belanger a3a2a84d8a
Remove puppetdb / puppetboard server
Currently puppetdb and puppetboard have been broken for some time (+1
year) and with ubuntu precise becoming EOL it is prime for deleting.

This leaves openstack-infra with a gap in reporting for non-root
users.  As such, as proposal is in the works to maybe use ARA.

Change-Id: Ifc73a2dba3b37ebe790a29c0daa948d6bad0aa33
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-12-11 10:11:11 -05:00

28 lines
666 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',
}
}
EOF
export PUPPET_VERSION=3
./install_puppet.sh
./install_modules.sh
puppet apply --modulepath=modules:/etc/puppet/modules manifests/local.pp