21 Commits

Author SHA1 Message Date
Jeremy Stanley
7454207391 Correct pypi.dfw mirror FQDN in trusted hosts list
Change-Id: Ia8c30197ba6b0abc9bc8532a00f3c60ed9e1b434
2015-07-30 17:00:20 +00:00
Yolanda Robla
ceecfb843b Don't hardcode pip.conf values
In the same line as other changes, move settings of config
file to template, and expose the settings on manifest,
so it can be easily configurable.

Depends-On: I78962555c9a9ec1a96ce19810a463a5d619b04f9
Change-Id: I673c9c177bf2fdb3e6428e3ad4252ee76b53309c
2015-07-11 12:36:51 +02:00
Monty Taylor
510f2caee3 Pass exim flag to template rather than exim class
Now that the exim flag exists on template, use it in the server
manifest.

Change-Id: I07652ad88b77a9d551761dcae60208b571261bba
2015-05-14 16:51:37 -07:00
Yolanda Robla
5eab48df71 Configure puppetmaster server from manifest
Currently the puppetmaster was hardcoded on a template.

Add the matching vars to the manifests that use them,
to make that setting configurable.

Change-Id: I2b641ec11284f325c22c242fabba26d0433bf85b
2015-03-17 09:38:17 +01:00
Monty Taylor
b4b5724a0b Add AFS
I don't really think this needs any further explanation.

Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
2014-10-20 15:13:14 -05:00
James E. Blair
974c7aa990 Revert "Stop managing puppet apt pins"
This reverts commit 5be2e2f18ac1f4489be760717519252ba20d4fba.

Yay!  We've sucessfully upgraded to puppet3 and the sun is shining!
Start managing apt pins for puppet again, and also, set the default
to be 3.x everywhere.

Change-Id: I80db5b5e154a3849914aa348e1eabadd0a2ad936
2014-09-12 13:34:11 -07:00
Jenkins
067bc2f708 Merge "Align exim module parameter name with the tree" 2014-07-05 21:31:02 +00:00
Spencer Krum
b65a2d3afc Allow site.pp to manage ca and ca_sever in puppet.conf
This allows us to set ca = false and ca_server = <fqdn> on the
new puppet 3 master.

Change-Id: Iba189bdc4bfb22fd23052f2570f52133ea184126
2014-07-02 15:01:17 -07:00
Spencer Krum
6adda92be8 Add node def for puppet3 master
This change modifies install_puppet.sh to accept a --three option
setting it to install the latest puppet available. It also creates
a node definition for the puppetmaster.o.o node, the new 3 master,
and the master of the future. Changes were made to various classes
to allow the pinning to version 2.x to be turned off.

Change-Id: I805d6dc50b9de0d8a99cf818d22d06c2dea6090a
2014-07-02 13:25:14 -07:00
Monty Taylor
615e0cfb39 Align exim module parameter name with the tree
The rest of the tree, literally everwhere, calls this value
sysadmins - but the exim module calls it sysadmin. This doesn't
really matter of course, but I noticed it while looking in to a
review on another patch and couldn't not fix it. Also, there are
two comments that are clearly remnants from having used exim.pp
as a starting point.

Change-Id: I184701c8c4d4b1e9d93d746b2ad0c5fc53443866
2014-06-14 08:10:10 -07:00
Clark Boylan
63f0890579 Consolidate rsyslog configs.
Puppet doesn't allow non unique namevars. Having mutliple rsyslog
service definitions violates this rule. Work around this by
consolidating all rsyslog configs in openstack_project::template.
In the process of doing this it became apparent that the ensure whoopsie
was absent resource should be consolidated in to template.pp as well so
this was done as part of the larger consolidation.

Change-Id: I7effed7bacb85386f0cf36edffe442e2cad944d0
2013-11-22 14:08:10 -08:00
Russell Bryant
2e2211cf69 Allow specification of public UDP ports
The iptables class allowed specifying a list of public UDP ports,
just like it has support for TCP.  However, a couple of places needed
to be updated to pass through the UDP port list to make it usable.

Change-Id: I00764bf1d7baff862fa51a6cd03211fe9a29ecdd
2013-07-18 14:44:51 -04:00
Jeremy Stanley
b8f7125626 Remove whoopsie package from all servers.
We've seen the whoopsie process eating many gigs of virtual memory
on servers, and it has a history of memory leaks. It's also more of
a desktop-oriented application geared for reporting backtraces to
Canonical when programs crash, so we don't need it on our servers
anyway.

Change-Id: I83a16b557d2601acdfcbe4c342bb05d325df77c9
Reviewed-on: https://review.openstack.org/29117
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-14 18:55:57 +00:00
Jeremy Stanley
3089973311 Use facter's osfamily instead of operatingsystem.
The osfamily fact is more flexible when we want to support more
GNU/Linux distributions while avoiding unnecessary code duplication.

Change-Id: Iea4c73c19e7f94df8daccf25c764b6a4539a1ea0
Reviewed-on: https://review.openstack.org/27400
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-04-25 21:37:03 +00:00
Jeremy Stanley
300826e6ad Disable logging to /dev/xconsole.
The default rsyslog configuration on Ubuntu attempts to open
/dev/xconsole if it exists, and logs an error if it doesn't (which
it normally won't on a headless server anyway). This change installs
a modified configuration with the xconsole-related lines commented
out. This configuration file is valid at least on Ubuntu Oneiric,
Precise and Quantal, which covers the releases we currently use.

Change-Id: I68594d489ab50ef25d351162b9dcb50ca003c409
Reviewed-on: https://review.openstack.org/22394
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-02-22 00:05:11 +00:00
James E. Blair
52269a0fe2 Make iptables additional rules a list.
A list of iptables commands that come after the "-A OPENSTACK-INPUT"
bit.

Change-Id: Iee595d9267738365c208f8ecb6f0fd4941b357e3
Reviewed-on: https://review.openstack.org/17172
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-30 01:39:28 +00:00
Matthew Wagoner
f31a426c65 Cleanup openstack_project manifest lint errors.
Now with extra unwrap!

Change-Id: I7c622ffa77821f33f911793fc6b6cdaaba37904a
Reviewed-on: https://review.openstack.org/15052
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-21 17:48:11 +00:00
Clark Boylan
94a7768dc3 Pass sysadmins list into node defs.
Pass the sysadmins list into each node definition. This allows us to
retrieve the data from hiera rather than hard coding it in the puppet
manifests. Also, update test script to use bogus sysadmin data when
testing.

Change-Id: Ide3560f16bce4d66fb95cc5021fc879476e6a712
Reviewed-on: https://review.openstack.org/12512
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-09-10 15:58:27 +00:00
Monty Taylor
f6ae3e6b7b Use puppetmaster for slaves.
Use puppet agent --test for puppet cron.

We don't need the private ssh or gpg key on the slaves anymore.
We do need the glance testing stuff, so stick that into hiera.

Change-Id: If94fc3f150bf569efe9461f80d3565f9825eebce
Reviewed-on: https://review.openstack.org/10851
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-19 18:02:37 +00:00
Monty Taylor
b2bbd47eef Include openstack_project class to access members.
Change-Id: I4d04bd6cc248ff6b724a42fe872afadc080bb126
2012-07-23 19:22:19 -05:00
Monty Taylor
3776f952dc Move OpenStack classes to openstack_project module
Change-Id: Iafcd2e06c5b62e4cde5eccaab3173a20bb08a78d
2012-07-23 10:31:58 -05:00