173118e471
As part of OpenDev rename, a lot of links were changed. A couple of URLs point to old locations, update them. This list was done while grepping for "openstack-infra" and fixing locations that are wrong. Change-Id: I313d76284bb549f1b2c636ce17fa662c233c0af9
28 lines
652 B
Bash
Executable File
28 lines
652 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://opendev.org/opendev/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
|