180 Commits

Author SHA1 Message Date
Monty Taylor
5bb629505d Import gpg keys for mirroring into local keyring
We need the gpg signing keys for the upstream repos in root's keyring.
Fuel uses golja-gnupg for importing keys - so seems like a good thing
for us to use too.

Change-Id: I343be9397ba53f494485d1ff0f1e1e4c96c0273f
2016-02-08 09:36:25 -06:00
James E. Blair
dc4f086eef Add mirror_update.openstack.org
This is a machine that will drive centralized mirror updates for
mirrors that are in AFS.

Change-Id: I33eed90c21a2e57a26349be83ee69e968b18d2f8
Depends-On: I56bb3ce2237be1179724f7a2bdcf9d5b04bdecd2
Depends-On: I704c8bf395d83adea0f9a0db6fd3d3814ad7660a
2016-01-21 08:09:39 -08:00
Colleen Murphy
080f1c7f09 Add Infra Cloud modules to modules.env
Add the Puppet OpenStack modules and their dependencies, if not already
installed, to modules.env.

Change-Id: If6247009ffcc478d5fc0b97db423ee5f8836f051
2016-01-07 11:54:28 -08:00
Spencer Krum
ad0454cdc7 Rename puppet-community to voxpupuli
The organization changed name to remove ambiguity with puppetlabs
official community efforts.

https://voxpupuli.org/blog/2016/01/01/voxpupuli/

Change-Id: Ia5b7f6169dd783b9c6d006fd77d9018d98950877
2016-01-07 10:19:20 -08:00
Colleen Murphy
9f74110cb6 Upgrade mysql module to 3.6.1
This patch upgrades the mysql module version as well as upgrading the
usage of that module in openstack_project. This includes:

 - upgrading the syntax to set the root password
 - no longer setting bind_address anywhere since it defaults to 127.0.0.1
 - upgrading the syntax to set the default storage engine using the new
   override_options param
 - upgrading the database and database_grant puppet resources to use the
   mysql_database and mysql_grant types. These types were renamed and
   are now more strict about how the title should look and what
   parameters need to be specified rather than inferred from the title.
   There is also no longer any reason to specify the 'mysql' provider
   since they gave up on the generic database provider idea.

Changes to the system that we can expect:

 - /etc/mysql/my.cnf will have its parameters reordered. The key_buffer
   config parameter was renamed to key_buffer_size and the log_error
   parameter was renamed to log-error. Default values haven't changed.
 - The change in /etc/mysql/my.conf will trigger a mysql restart
 - /root/.my.cnf now adds single quotes around the password value. This
   won't change how mysql or the module reads the value, but puppet
   will report the file as having changed.

This patch should not be merged until a downtime is prepared for the
paste and wiki services.

Change-Id: I8072e0aab03606307505e37fe6fb0c8b18eef854
Depends-On: I3ff754b15eef51c3c86c188647353a4a1d3bfea0
2016-01-04 10:51:50 -08:00
Jenkins
292b3e5124 Merge "Upgrade the stdlib module to 4.10.0" 2015-12-22 19:11:53 +00:00
Jenkins
7910a84197 Merge "[WIP] Add puppetlabs-apache 1.8.0?" 2015-12-17 23:46:54 +00:00
Jenkins
8efba915a9 Merge "Discontinue Release status page" 2015-12-16 09:40:44 +00:00
Colleen Murphy
b525296957 Upgrade the stdlib module to 4.10.0
This patch upgrades the puppetlabs-stdlib module from 4.3.2 to 4.10.0.
4.10.0 gives us the load_module_metadata function, which loads the
metadata.json file into scope, plus an improvement to allow the
function to succeed if the metadata.json is not found. With this
function we can read module metadata and use puppet conditionals that
make decisions based on this metadata.

This will help us upgrade the mysql module by allowing us to check
whether metadata.json exists for the mysql module. If it does not
exist, that means the module is "old", and we should use the "old" API.
If it does exist, we can check what version.

This could also help if we want to switch from one module to another
when modules have the same name. We can add conditionals in the puppet
code to check the module author and use the correct interface based on
that.

See the changelog[1] for more information of what this update includes.

[1] https://github.com/puppetlabs/puppetlabs-stdlib/blob/4.10.0/CHANGELOG.md

Change-Id: Ia366c0f7f1bfbfa843071e733a5b0a96873a60d8
2015-12-15 15:39:23 -08:00
Paul Belanger
21994ced85 [WIP] Add puppetlabs-apache 1.8.0?
This will be needed when we migrate from puppet-httpd.

Change-Id: Iec31af59a7a85878cd995c28245dd4ec3a97c798
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-12-15 17:42:58 -05:00
Thierry Carrez
1394a91500 Discontinue Release status page
The release status page no longer makes sense and is discontinued
starting with the Mitaka cycle. Temporary ensure that directories
and user/group are cleaned up.

Replace its entry in the status header by a (currently missing)
openstack-health entry.

Change-Id: I9f61c4bb1f5634df0b0da909466b4c1b1b149ba5
2015-12-15 11:13:03 +01:00
Colleen Murphy
99d511e5ee Upgrade the concat module
The currently installed version of puppetlabs-concat has a bug that
causes concat resources with ensure => absent to be run on every puppet
run. This affects the infracloud module, which uses the
puppetlabs-apache module to configure apache vhosts, which uses the
concat type to ensure the default ssl vhost is absent. This causes the
httpd service to be restarted on every puppet run. The bug was fixed in
1.1.1[1]. This patch upgrades the concat module to 1.2.5, which is the
latest 1.x version.

The concat resource is not used directly by any of our modules[2].
Besides the puppetlabs modules, which we can assume are well-tested
with the latest version of concat, the only other module that appears
to use concat is the selinux module. That module only uses it in the
selinux::restorecond class, which we're not using. So this upgrade
should be safe for us.

[1] https://github.com/puppetlabs/puppetlabs-concat/pull/215
[2] http://codesearch.openstack.org/?q=concat&i=nope&files=%5E.*%5C.pp%24&repos=project-config,puppet-accessbot,puppet-ansible,puppet-apparmor,puppet-apps_site,puppet-askbot,puppet-asterisk,puppet-autossh,puppet-bandersnatch,puppet-bugdaystats,puppet-bup,puppet-cgit,puppet-ciwatch,puppet-dashboard,puppet-diskimage_builder,puppet-drupal,puppet-elastic_recheck,puppet-elasticsearch,puppet-etherpad_lite,puppet-exim,puppet-gerrit,puppet-gerritbot,puppet-github,puppet-grafyaml,puppet-graphite,puppet-haveged,puppet-hound,puppet-httpd,puppet-infra-cookiecutter,puppet-infracloud,puppet-iptables,puppet-jeepyb,puppet-jenkins,puppet-kerberos,puppet-kibana,puppet-lodgeit,puppet-log_processor,puppet-logrotate,puppet-logstash,puppet-mailman,puppet-mediawiki,puppet-meetbot,puppet-mysql_backup,puppet-n1k-vsm,puppet-nodepool,puppet-nslcd,puppet-odsreg,puppet-openafs,puppet-openstack_health,puppet-openstackci,puppet-openstackid,puppet-os_client_config,puppet-packagekit,puppet-pgsql_backup,puppet-phabricator,puppet-pip,puppet-planet,puppet-project_config,puppet-puppet,puppet-redis,puppet-refstack,puppet-releasestatus,puppet-reviewday,puppet-setproxy,puppet-simpleproxy,puppet-snmpd,puppet-ssh,puppet-ssl_cert_check,puppet-stackalytics,puppet-statusbot,puppet-storyboard,puppet-subunit2sql,puppet-sudoers,puppet-surveil,puppet-tmpreaper,puppet-ulimit,puppet-unattended_upgrades,puppet-unbound,puppet-user,puppet-vcsrepo,puppet-vinz,puppet-vitrage,puppet-yum,puppet-zanata,puppet-zuul,system-config

Change-Id: I6abf85fca776cc5cc7f3aee47cc649001e7f15fc
2015-12-14 13:29:01 -08:00
James E. Blair
bb3171031a Set timezone to UTC on servers
Change-Id: I1b53d6bd7e51ea5be23a213a16b4ecaef04ad7a4
2015-11-20 08:47:15 -08:00
Monty Taylor
a365f91039 Pin puppetlabs-haproxy to commit containing 1.8 fix
There is a bug with ruby 1.8 and puppetlabs-haproxy that has been worked
around upstream. It manifests as an inability to compile the catalog
with haproxy on centos6.

Pin this to the commit with that fix applied until that commit is
released. Also, getting off of centos6 everywhere will make this problem
go away for real - as ruby 1.8 is EOL and not supported upstream.

Change-Id: I76d60b1e57553e144b8f5a7062e0061cc52067d7
2015-11-17 13:22:37 -05:00
Jenkins
54c6061834 Merge "Update HAProxy module to 1.3.0" 2015-11-13 14:09:02 +00:00
Spencer Krum
8cdaf92609 Treat openstack_health normally
This is a partial revert of 05c16e2e that removes special casing around
the openstack-health/openstack_health repo.

Change-Id: I832f1b764a34c128d737a467fa568cc064226c5a
2015-11-06 10:00:14 -08:00
Jenkins
e339aa65ae Merge "Create stackalytics.o.o under -infra" 2015-11-05 18:27:07 +00:00
Paul Belanger
bb0881f91d Create stackalytics.o.o under -infra
Change-Id: I9afa912abee38fb2732e97df06d72788b57d53df
Depends-On: If62b3f633000cc6380d892cad0a2160136ce8ca4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-04 18:14:25 -05:00
Jenkins
f472c1ed6a Merge "Bump puppet-memcached to v2.6.0" 2015-11-03 17:20:03 +00:00
Jenkins
c6b5d11c80 Merge "Add codesearch.o.o node and module" 2015-10-30 00:56:00 +00:00
Emma Barber
17b4cbc317 Add codesearch.o.o node and module
puppet-hound is in working order. This adds puppet-hound to
INTEGRATION_MODULES, creates a new codesearch.o.o node,
and installs hound on it.

Depends-On: Ie4b6509947f58407c4cc6f5a2c7c2bc84c619ce9
Change-Id: I238b05e8b25229d7dcf840441cd9d3af09f3e249
2015-10-29 17:20:58 -07:00
Paul Belanger
43a8ae32f3 Bump puppet-memcached to v2.6.0
This will expose the auto_removal setting to puppet.

A diff between the version bump:

  a0d4bdca62...v2.6.0

Change-Id: I0f6cf5ba0ce16060345606fc99cb311d101b4320
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-27 23:39:31 -04:00
Jenkins
6b8f077a08 Merge "Update rabbitmq module" 2015-10-24 23:21:34 +00:00
Jenkins
93a1846b36 Merge "Add openstack-health api server" 2015-10-19 20:00:50 +00:00
Matthew Treinish
05c16e2e35
Add openstack-health api server
This commit adds the puppet config for running an openstack-health
api instance. It'll use the subunit2sql trove db node as a data
source. The puppet-openstack-health module is incorrectly named which
is causing issues, a workaround to rename the repo is added to
install_modules.sh. This is a temporary measure until the gerrit
rename is completed. There is also a workaround in the apply test.

Change-Id: I7e6d9664d087e7bdc21d92624991d0d5f86c0c99
2015-10-19 15:27:00 -04:00
Paul Belanger
ef5b4f5487 Add grafyaml support
This works almost the same way as JJB. Dashboards are stored in yaml,
puppet detects a file change, and grafana-dashboard publishes the
changes into grafana.

Change-Id: I91d539bdf7273a26dbd6ac46268bf5f98b1ea44f
Depends-On: I2755fe4fee720c7805eed2cb5bdf11de667bbd4f
Depends-On: I07577d72b2d5d6a552a9f50f551263fe3ac47dfb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-13 11:31:37 -04:00
Jenkins
dfe909097e Merge "Add a refstack.openstack.org server" 2015-10-09 12:35:24 +00:00
Jeremy Stanley
6dc7b3dfdd Add a refstack.openstack.org server
This implements the refstack Puppet module on a server named
refstack.openstack.org, where hosting of the refstack repo data
and site content will move in the near future.

Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Co-Authored-By: Paul Van Eck <pvaneck@us.ibm.com>

Change-Id: I628e190851fa6d266f612372ab03b7d6c65764ea
Depends-On: I470d7f5ebeee9949f6dd58d48a580d94866df0fd
2015-10-08 13:39:01 -07:00
Colleen Murphy
91cdb924b8 Update rabbitmq module
There have been no backwards-incompatible changes in the rabbitmq
module since 5.0.0. However there have been major bugfixes to keep up
with changes in upstream rabbitmq packages, so it is worth updating.
This update is needed for Infra Cloud to work.

The only module that uses the rabbitmq module currently is the
storyboard module, all of which is contained in one class[1], so the
impact of this update is minimal.

See the puppetlabs-rabbitmq changelog[2] for more details of what this update entails.

[1] http://git.openstack.org/cgit/openstack-infra/puppet-storyboard/tree/manifests/rabbit.pp
[2] https://github.com/puppetlabs/puppetlabs-rabbitmq/blob/master/CHANGELOG.md

Change-Id: Ief759e6676799864d9ef8b472d30e8f9834b41c0
2015-10-06 14:01:20 -07:00
Marton Kiss
dc8e362a78 Update nanliu's git module to puppet-community git
Puppet community's git_resource module will manage the standalone
git provider, as the forked vcsrepo not covers all of our use-case
for git repositories. The development of nanliu's module was moved
under puppet-community. It contains some important fixes related
to commit ref and tag changes, and the mechanisom of notification
of subscribed resources.

Change-Id: I36a2664707f900fe7807d5f05f69423682c3a51a
2015-10-06 10:37:46 +01:00
Joshua Hesketh
7054156c4c Add nodejs to the source modules
We need nodejs to install the latest jquery module for zuul

Change-Id: I3be0b34d394fdbc003c1ae639cc60f22d2f31ed5
2015-09-28 16:18:05 -07:00
James E. Blair
58b2500909 Add odsreg server
Change-Id: I887724a51be070b1ddb1f26cf987201c68979429
Depends-On: I380308eb96024792f416c1bf0bf0062bf143b923
2015-09-17 13:56:42 -07:00
Spencer Krum
c7f7efb12b Update HAProxy module to 1.3.0
This patch started out bumping to 1.1.0 but has aged and now 1.3.0 is
the latest.

Two good reasons to do this:
1) Gets us on to a 1.x release. That means semver applies and we can
further upgrade with confidence.

2) Exposes a restart_command parameter. This allows us to specify what
command to run to bounce haproxy, allowing us to soft reload instead of hard
restart This was a specific ask from clarkb.

Change-Id: I9713ce1fcf0b6f15f22c12d2a651294e2347f8a2
2015-09-11 12:27:51 -07:00
Yolanda Robla
a3463d8bbb Start using jfryman/puppet-selinux
We were using a fork of that original module, called
spiette/puppet-selinux. This module had no maintenance since
2013, and it's not supporting CentOS 7.

So far, there are pull requests into that module since 2014,
and there is no activity on that. The original jfryman module
is up to date, doesn't have this problem, and is actively
maintaned. So start using that and deprecate the spiette one,
in order to be able to use selinux again.

Change-Id: I053d1437ef85828654a2a3bb9fedd6296525dabd
Depends-On: I8500da48191613d2fc7451bc829c27e9e618711e
2015-08-28 12:49:52 +02:00
Steve Kowalik
2e275364ed Move to biemond-wildfly v0.4.0
We are rather behind the current releases of beimond-wildfly, move
to the latest released version. This also switches to using
puppetlabs-archive, so no more hitting maven everytime we run puppet.

Change-Id: Idcaa4be45e87964dcb3299e0788e3e2eeb3ca86a
2015-08-24 15:26:22 +10:00
Paul Belanger
2c620a01a0 Upgrade grafana.o.o to 2.1.0
This release adds support for 'Basic Auth' which we'll be using with grafyaml.

Change-Id: I2d57a9cfd66a15d97cd9717e3d81ba52845e3cbc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-13 10:17:37 -04:00
Paul Belanger
c43823e561 Bump puppetlabs-apt to 2.1.0
This puppet-grafana requires 2.0.0 or later. So, we bump our version
to match.

Change-Id: Iaee167602523bc497515a31fdbea74728e94c55d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-12 17:18:46 -07:00
Jenkins
b593de8b0b Merge "Add a reminder about grafana and puppet-archive conflict" 2015-08-12 19:29:23 +00:00
Jenkins
aebda8ef62 Merge "Add puppet-os_client_config to modules.env" 2015-08-12 19:17:50 +00:00
Jenkins
5314d3e5f4 Merge "Remove puppet-apache now that we have migrated" 2015-08-11 14:23:14 +00:00
Yolanda Robla
8ff03e30e6 Add a reminder about grafana and puppet-archive conflict
There is a potential conflict in a grafana dependency,
camptocamp-archive, and the puppet-archive module that
is installed for system-config.
Adding a reminder on the module, to be sure we don't use
any archive functionality from grafana.

Change-Id: I95ad79d9498e30848863a5daca2480f1c1abd687
2015-08-06 16:32:57 +02:00
Paul Belanger
ae9d89ac9c Remove puppet-apache now that we have migrated
We now fully support puppet-httpd, so lets remove puppet-apache

Change-Id: I48924b277ccbadf805947ae400b25807f3887cdc
Depends-On: I67aea79c04d725f9b9889a38aff018f0895321a9
Depends-On: I0bcc68e049396560e9f51a2cb4ba941f8a8d2862
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-05 13:48:13 -04:00
Jenkins
b15f16ea44 Merge "Bump puppet-ntp to 3.2.1" 2015-08-05 16:11:07 +00:00
Jenkins
325c7d5410 Merge "Add java_ks module" 2015-08-04 21:03:24 +00:00
Ramy Asselin
1a6ff21ffb Add puppet-os_client_config to modules.env
puppet-os-client_config is a new repo and needs
to be added to the modules.env in order for it
to be included in CI test jobs.

Change-Id: I6eace8f4dae382075a64a6fd86a89732588bf299
2015-08-03 18:04:07 -07:00
Jenkins
6d5a3800a6 Merge "Create grafana.o.o under -infra" 2015-07-30 19:54:17 +00:00
Steve Kowalik
53e439187b Add java_ks module
For an upcoming puppet-zanata change, we require the java_ks module
from puppetlabs, include it in our modules list.

Change-Id: I32ef72eba436c338052be2eb83ce39e4400d047c
2015-07-28 12:12:46 +10:00
Marton Kiss
8bbbd43002 Update vamsee-solr to 0.0.8
Release 0.0.8 includes the pull request #22
https://github.com/vamsee/puppet-solr/pull/22

This patch allows to extract solr.tgz to a different tmp root
directory instead of /tmp and resolve contrib plugin copy failures
after a host a reboot.

Change-Id: Ifd24c6dfef4b40af4fd19674d98a52e407df4168
2015-07-26 10:26:17 +02:00
Paul Belanger
995294c1d8 Bump puppet-ntp to 3.2.1
Under puppet 4 we get the following error:

  Error: Parameter name failed on Package[ntp]: Name must be a String
  not Array

Diff[1] between version.

[1] https://github.com/puppetlabs/puppetlabs-ntp/compare/3.1.2...3.2.1

Change-Id: Iddb92b842c956170b2d96e23105eedfaa3857f9f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-20 12:49:00 -04:00
Paul Belanger
8a342866f9 Create grafana.o.o under -infra
Change-Id: Ib83a4d95df155f21c9affd25924261dc4b414133
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-06 11:36:14 -04:00