Commit Graph

21 Commits

Author SHA1 Message Date
OpenDev Sysadmins ffd9b6ed75 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 9628e89639 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: I0d5b0672f6f341566d8643d90b1d7be8c9c37a34
2019-03-24 20:35:45 +00:00
Zuul 6f5e075942 Merge "Add beaker tests" 2018-08-01 21:23:53 +00:00
Zuul dd62fb337b Merge "Fix SysV init script for systemd compatibility" 2018-07-21 13:40:45 +00:00
Colleen Murphy b285011749 Add beaker tests
Add basic tests to ensure the puppet manifests can be applied cleanly
and the service will start.

Change-Id: I15a83e6d7c0449d0982fcc0a62dcab75766addec
2018-07-12 14:06:03 +02:00
Colleen Murphy 8acf255563 Fix SysV init script for systemd compatibility
systemd-sysv-generator expects the init info block to start with three
'#' characters, not four. If it doesn't see that, it ignores the
parameters there and systemd will fail to enable the service because it
can't find the 'Default-Start' runlevels. Fix the marker string in the
init script so that puppet can enable the service.

Change-Id: I8757ed80eb860feebc541af81c22fcdda9d8cef1
2018-07-12 13:33:02 +02:00
Colleen Murphy 601da2ab8c 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: I3d4f30f66042cc0b0272413565f613a58fb3a3d0
2018-07-12 09:57:45 +02:00
Colleen Murphy f7de5af0f9 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: I919ae96eda59e10cc11e7392dce3bee21fa270d1
2017-08-18 10:41:44 +02:00
Colleen Murphy 91f58b132e Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I79343ff24541dbb2d5cbfefa7c4cfc2bb5dd482e
2017-06-24 16:36:23 +02:00
Spencer Krum 81fcbacb95 Use new infra_spec_helper for gem dependencies
Change-Id: Id0375c55cae9c9a9522e7e78f3830ab57efeaa28
2016-06-21 18:40:06 -07:00
Clark Boylan 7e8b03762f Create a simpleproxy user
Previously this depended on other things creating a logstash user which
would enable this service to run. There is no logstash user created on
these hosts any longer and it was bad to rely on that side effect of
colocation anyways. Fix this by creating a user just for this service.

Change-Id: I6b0779552d3c47f3bf27b1548599cfc6e9461dcb
2016-05-27 10:40:52 -07:00
Spencer Krum 7ec790d918 Pin google-api-client; sanitize Gemfile
Change-Id: I2a13378f452108b1199b69932a317e1c65e7b6c5
2016-04-14 15:23:37 -07:00
Andrey Nikitin 1bf847c600 Indentation of the class parameter is refactored
Indentation of the parameter changed
to follow Puppet Style Guide recommendation [0].

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: Ibf31967b471e146d7241c8b56e2974335335d7fb
2016-03-22 12:50:33 +03:00
Spencer Krum 10820fb938 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I39ad17d3ac1578a145f165ef173e278ec449d129
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:41:50 -07:00
Colleen Murphy aafa48afa0 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.

Change-Id: I331f3494e136df3fecb7a73f5db4a62b46237240
2015-08-13 18:08:50 -07:00
Spencer Krum abb526dd65 Boilerplate beaker-rspec files
Change-Id: I1d0bc72c19f2f2b6d9813fcc9a77c13a8aca9f2e
2015-07-28 02:05:47 -07:00
Jeremy Stanley c32e4bf43b 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: I60365713449dba140a139cfdc4c610948fc667a7
2015-05-14 21:38:19 +00:00
Ramy Asselin d9e7563c37 Rename openstackci to openstackinfra
Change-Id: I0182d98505d08e89e62a4012bc0485bb1d9aa045
2015-04-20 13:50:23 -07:00
Jeremy Stanley 2269a0b22b Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional
files are added to create a proper puppet module.

The spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: Ifd6e7fa139257ad4dfd5a2605f7dbb1526e27136
2015-01-29 20:29:30 +00:00
Matthew Treinish ea8e6a7389 Switch mysql-proxy to simpleproxy
Mysql-proxy turns out too unreliable and unstable for use in
production. The packaged version on Ubuntu suffers from a critical DOS
by using telnet. This patch switches from mysql-proxy to simpleproxy,
which is just a tcp proxy to forward incoming port 3306 connections to
the subunit2sql db.

Change-Id: Iffea64aea46cc34969bbaa970e5d91bd0cc05232
2014-12-12 15:40:54 -05:00
Matthew Treinish d6d0af3b25 Add mysql-proxy to enable read-only access to a db
This commit adds a mysql_proxy module which will setup a read-only
proxy to a mysql db. This also configures a proxy to the subunit2sql
db to run on logstash.o.o to provide read only access to the data in
the database.

Change-Id: I478baca354354347fe50074a8e3b9f66ca890d55
2014-12-05 19:27:23 +00:00