system-config/modules/openstack_project/manifests/server.pp
James E. Blair 56c1a29809 Remove trusted-hosts from pip.conf
On our nodepool hosts, we write the entire pip.conf now, including
the trusted-host line.  We don't need it anywhere else, so drop it
entirely.

Change-Id: I48110556554560fb7ca3ddaeab57c26c8c442e26
Depends-On: Ie6743e2a8f95f95cea19a0dbe9fceaedbff8bf94
2016-02-01 14:58:25 -08:00

38 lines
1.4 KiB
Puppet

# == Class: openstack_project::server
#
# A server that we expect to run for some time
class openstack_project::server (
$iptables_public_tcp_ports = [],
$iptables_public_udp_ports = [],
$iptables_rules4 = [],
$iptables_rules6 = [],
$sysadmins = [],
$certname = $::fqdn,
$pin_puppet = '3.',
$ca_server = undef,
$enable_unbound = true,
$afs = false,
$afs_cache_size = 500000,
$puppetmaster_server = 'puppetmaster.openstack.org',
$manage_exim = true,
$pypi_index_url = 'https://pypi.python.org/simple',
) {
class { 'openstack_project::template':
iptables_public_tcp_ports => $iptables_public_tcp_ports,
iptables_public_udp_ports => $iptables_public_udp_ports,
iptables_rules4 => $iptables_rules4,
iptables_rules6 => $iptables_rules6,
certname => $certname,
pin_puppet => $pin_puppet,
ca_server => $ca_server,
puppetmaster_server => $puppetmaster_server,
enable_unbound => $enable_unbound,
afs => $afs,
afs_cache_size => $afs_cache_size,
manage_exim => $manage_exim,
sysadmins => $sysadmins,
pypi_index_url => $pypi_index_url,
purge_apt_sources => true,
}
}