Commit Graph

31 Commits

Author SHA1 Message Date
Andreas Jaeger a50ef9390d Retire repo
Depends-On: https://review.opendev.org/731947
Change-Id: I12a1c88e3b7c7398b06546a455fc2ab7e336324a
2020-06-05 16:19:54 +02:00
OpenDev Sysadmins c4bd67676c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:37 +00:00
Ian Wienand b0143ab222 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I7114991b57cee3a088201b4eed5271bfb65ec746
2019-03-24 20:35:45 +00:00
Colleen Murphy 253bb59e0d Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: I23131255b91ec9754d4d7bf3ebf1105e019c87a0
2018-07-12 09:57:45 +02:00
Clark Boylan d804badd82 Enable snmpd so it works on systemd systems
With systemd systems it appears that ensure => running is insufficient
to make sure the service is running. You also have to enable the service
so that its unit is startable. Since we pretty much always want snmpd
running just enable it.

This behavior was noticed when git.openstack.org was rebuilt on CentOS 7
which uses systemd.

Change-Id: I44f7f73abd5ecf12dad2522a7c48df50b12f7e9b
2018-01-09 08:37:04 -08:00
Colleen Murphy f6352648ad Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I764e7265d5ed281dcfd5ab97b3acb06d81ac9182
2017-08-18 10:41:44 +02:00
Colleen Murphy 425c0f0692 Update beaker setup for xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I37507002298d65ac09681e33e5af2340140ab028
2017-06-11 21:44:46 +02:00
Jeremy Stanley 2de225f933 Remove initscript
This sort of reverts 26d074aba3172d7019a47ada003531b7b7f80584 whose
commit message included the phrase, "This can go away after
everything is upgraded to precise..."

We're well past upgrading to Ubuntu Precise, as we're actively
upgrading the last of our Precise servers to Trusty now. Further,
the initscript we backported from Precise no longer works on Xenial
which we're starting to get into production, and we haven't been
installing this file on our RH-based platforms at all, so it's long
overdue to be cleaned up.

Change-Id: I3f99495142ad1b4352c1566889381fe5c92b2936
2016-08-16 18:27:49 +00:00
Spencer Krum ca3b9f87cf Use new infra_spec_helper for gem dependencies
Change-Id: Ifeae798255c010386cc1630475fd97affd66db45
2016-06-21 18:40:08 -07:00
James E. Blair d676734861 Listen on IPv6
Change-Id: I7860238cbc2695de1f4c945956764c287e19061b
2016-05-23 13:53:31 -07:00
James E. Blair b3e185da3d Subscribe the snmp service to config file updates
Change-Id: I3bd399d395bcb3d8c8ab1f3ca753a47031577086
2016-05-23 13:53:31 -07:00
Spencer Krum 587b5893d1 Pin google-api-client; sanitize Gemfile
Change-Id: I39cea83aeb14cc112ef0b4b9c0e45cc948685e6f
2016-04-14 15:23:46 -07:00
Spencer Krum 08a604efa4 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Ie9ffc668494efd5b2e7fc07b1622b4b149663350
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:41:58 -07:00
Colleen Murphy cf53abc6b4 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-absolute_classname-check gem.

Change-Id: I5ceca3010144b685a2466d7217221204c61dcc73
2015-08-13 18:10:01 -07:00
Spencer Krum f3f9415184 Boilerplate beaker-rspec files
Change-Id: I6013b822b5c1a6e222c66c0d07f5b8d99c713f3b
2015-07-28 02:05:49 -07:00
Jeremy Stanley 24e8529977 Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I53ce04152b16e20ad1a381ef00eedc3e8acb598c
2015-05-14 21:38:19 +00:00
Ramy Asselin 1b73bc4956 Rename openstackci to openstackinfra
Change-Id: Iabc9ec980e81dcae1ce6995140da1fe76d7a987c
2015-04-20 13:50:30 -07:00
Jeremy Stanley 370d2c21aa Add missing LICENSE file
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.

Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8
2015-01-29 22:59:44 +00:00
Ramy Asselin c7b7edcfba Initial puppet module files
Change-Id: Ida208c2a4d3a441acf56669a523a1afe12bf104e
2015-01-29 10:43:30 -08:00
Thomas Bechtold 8a9cef9956 Update snmpd module to support SUSE
Add parameters for SUSE based distros.

Change-Id: If10b70b5fe80f4b79f002f017c06ee99f97dd7f0
2014-09-25 09:14:05 +02:00
Jeremy Stanley af70dd4e3b 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 c65751b792 The facter osfamily of Ubuntu is Debian.
Clean up facter osfamily matches to just use Debian, not Ubuntu.
This is manually tested and confirmed to at least be the case on
Oneiric, Precise and Quantal.

Change-Id: I27b184ac419910f9c3271c3b4e57886333282a5f
Reviewed-on: https://review.openstack.org/27399
Reviewed-by: Spencer Krum <krum.spencer@gmail.com>
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:00 +00:00
Jeremy Stanley 15f7ccfab4 Jenkins slave puppetry for CentOS.
The install scripts now look for CentOS in release files. Also some
instances of facter's operatingsystem are switched to osfamily and
capitalization of RedHat is normalized to match what facter uses.

Change-Id: I3bbca5481d0d5e6de9e62bfd6e2b0a85264ed6ed
Reviewed-on: https://review.openstack.org/27398
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:36:58 +00:00
Dan Prince 338b586393 Don't require /etc/init.d/snmpd on RHEL.
Updates the snmpd module so that we don't require
/etc/init.d/snmpd to start the snmpd service. This
should fix issues running this module on RHEL.

On Ubuntu we explicitly create /etc/init.d/snmpd
and already has some resource chaining in place so
that it will conditionally run before the snpmd service
starts.

Change-Id: I480c38d26c8b423f5a8d1ddc405749c03aae19b1
Reviewed-on: https://review.openstack.org/23460
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-04 20:43:54 +00:00
Dan Prince e1284910fe Adds RHEL support to snmpd module.
Parameterize the package name so that things work on multiple
distros.

Also, updates the snmpd module so that that the init script is
written out on Ubuntu only (this is not required on RHEL).

Change-Id: Id5868b85fc0a7a6057d9be16c76dad2efb834f0e
Reviewed-on: https://review.openstack.org/23186
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-04 17:58:26 +00:00
Matthew Wagoner dc37983643 Cleanup snmpd manifest init.pp lint errors.
Change-Id: I970c492c11d91dfab3b206859a72598a16602a24
Reviewed-on: https://review.openstack.org/14906
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
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
2012-10-29 18:33:29 +00:00
Clark Boylan 50c26120c0 Kill trailing whitespace.
Killed trailing whitespace in the puppet repo files using
`sed -r 's/\s+$//'`. Skip binary files and html templates for lodgeit
and mailman.

Change-Id: Ib43493161d8f0e8fae1426b22fb1737832ca14cd
Reviewed-on: https://review.openstack.org/12969
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-05 23:27:31 +00:00
Monty Taylor 9392105cb4 Backport the init script from precise for snmpd.
This can go away after everything is upgraded to precise,
but it's the cause of the constant puppet attempts to restart snmpd on our
servers.

Change-Id: I99b1931aefa3444d5ceef8b6dd6014152f3f53a0
2012-07-23 08:05:44 -05:00
Hengqing Hu da73723c94 Remove trailing whitespaces in regular file
Change-Id: I06d4ed2a8153820f7253c6602bfa8c05af59e06f
2012-03-09 16:02:04 +08:00
Monty Taylor 1d778b6386 snmpd needs its config file to start.
Change-Id: I9fc32a7b06e55948cfb1f3f236dfb22297f3f0f6
2012-02-22 12:31:20 -08:00
James E. Blair d7131c0eb4 Add SNMP configuration to puppet.
Change-Id: I2fa3e43cbc52404e8c41d381e503abec42459873
2011-09-13 00:02:48 +00:00