Merge "Configure puppetmaster server from manifest"
This commit is contained in:
commit
9903c8c7f3
@ -5,6 +5,7 @@ class openstack_project::base(
|
||||
$install_users = true,
|
||||
$pin_puppet = '3.',
|
||||
$ca_server = undef,
|
||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||
) {
|
||||
if ($::osfamily == 'Debian') {
|
||||
include apt
|
||||
|
@ -11,6 +11,7 @@ class openstack_project::server (
|
||||
$pin_puppet = '3.',
|
||||
$ca_server = undef,
|
||||
$afs = false,
|
||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||
) {
|
||||
class { 'openstack_project::template':
|
||||
iptables_public_tcp_ports => $iptables_public_tcp_ports,
|
||||
@ -20,6 +21,7 @@ class openstack_project::server (
|
||||
certname => $certname,
|
||||
pin_puppet => $pin_puppet,
|
||||
ca_server => $ca_server,
|
||||
puppetmaster_server => $puppetmaster_server,
|
||||
afs => $afs,
|
||||
}
|
||||
class { 'exim':
|
||||
|
@ -15,6 +15,7 @@ class openstack_project::template (
|
||||
$ca_server = undef,
|
||||
$enable_unbound = true,
|
||||
$afs = false,
|
||||
$puppetmaster_server = 'puppetmaster.openstack.org',
|
||||
) {
|
||||
include ntp
|
||||
include ssh
|
||||
@ -50,10 +51,11 @@ class openstack_project::template (
|
||||
}
|
||||
|
||||
class { 'openstack_project::base':
|
||||
install_users => $install_users,
|
||||
certname => $certname,
|
||||
pin_puppet => $pin_puppet,
|
||||
ca_server => $ca_server,
|
||||
install_users => $install_users,
|
||||
certname => $certname,
|
||||
pin_puppet => $pin_puppet,
|
||||
ca_server => $ca_server,
|
||||
puppetmaster_server => $puppetmaster_server,
|
||||
}
|
||||
|
||||
package { 'lvm2':
|
||||
|
@ -3,7 +3,7 @@ logdir=/var/log/puppet
|
||||
vardir=/var/lib/puppet
|
||||
ssldir=/var/lib/puppet/ssl
|
||||
rundir=/var/run/puppet
|
||||
server=puppetmaster.openstack.org
|
||||
server=<%= @puppetmaster_server %>
|
||||
certname=<%= @certname %>
|
||||
pluginsync=true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user