diff --git a/modules/openstack_project/manifests/server.pp b/modules/openstack_project/manifests/server.pp index 5e7b9f6eac..305391609d 100644 --- a/modules/openstack_project/manifests/server.pp +++ b/modules/openstack_project/manifests/server.pp @@ -20,6 +20,11 @@ class openstack_project::server ( ) { include sudoers include openstack_project::params + include openstack_project::users + + class { 'openstack_project::users_install': + install_users => true, + } class { 'timezone': timezone => 'Etc/UTC', diff --git a/modules/openstack_project/manifests/single_use_slave.pp b/modules/openstack_project/manifests/single_use_slave.pp index 010d8f4621..0e4672626a 100644 --- a/modules/openstack_project/manifests/single_use_slave.pp +++ b/modules/openstack_project/manifests/single_use_slave.pp @@ -5,7 +5,6 @@ # user are by default off but can be enabled. class openstack_project::single_use_slave ( $certname = $::fqdn, - $install_users = false, $install_resolv_conf = true, $sudo = false, $ssh_key = $openstack_project::jenkins_ssh_key, @@ -14,7 +13,6 @@ class openstack_project::single_use_slave ( ) inherits openstack_project { class { 'openstack_project::template': certname => $certname, - install_users => $install_users, install_resolv_conf => $install_resolv_conf, iptables_rules4 => [ diff --git a/modules/openstack_project/manifests/template.pp b/modules/openstack_project/manifests/template.pp index 4561c527f5..a213c71e46 100644 --- a/modules/openstack_project/manifests/template.pp +++ b/modules/openstack_project/manifests/template.pp @@ -10,7 +10,6 @@ class openstack_project::template ( $snmp_v4hosts = [], $snmp_v6hosts = [], $pin_puppet = '3.', - $install_users = true, $install_resolv_conf = true, $certname = $::fqdn, $ca_server = undef, @@ -24,8 +23,6 @@ class openstack_project::template ( ########################################################### # Classes for all hosts - include openstack_project::users - if ( $afs ) { $all_udp = concat( $iptables_public_udp_ports, [7001]) @@ -53,10 +50,6 @@ class openstack_project::template ( snmp_v6hosts => $snmp_v6hosts, } - class {'openstack_project::users_install': - install_users => $install_users - } - if ($::osfamily == 'Debian') { # NOTE(pabelanger): Puppetlabs only support Ubuntu Trusty and below, # anything greater will use the OS version of puppet.