Remove users.pp and users_install.pp from single_use_slave.pp

Now that glean manages our ssh keys for nodepool diskimages, we can
remove this puppet code.

Change-Id: I443258acd37a7df17ab30af48b181570489b9b16
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-20 14:49:28 -04:00
parent dedfb543e8
commit e172150bdb
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 5 additions and 9 deletions

View File

@ -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',

View File

@ -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 =>
[

View File

@ -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.