Commit Graph

28 Commits

Author SHA1 Message Date
Clark Boylan 9c8562390a Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I18ae9291cf2ca758dd82b1969d5a3e2b5f89a866
2022-02-17 12:49:35 -08:00
OpenDev Sysadmins 03a0ee6012 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:26:04 +00:00
Ian Wienand d30b8f0414 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: I57d518aa403b3c6caaa19022356d9feebcb04a27
2019-03-24 20:35:44 +00:00
Zuul 639364a69b Merge "Add beaker tests" 2018-08-01 22:18:22 +00:00
Colleen Murphy 32fd0a1859 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: Ic84b7d71603ccc92e145dc31ec8e2705e3c2a720
2018-07-12 09:57:45 +02:00
Colleen Murphy 40c7c1c223 Add beaker tests
Add basic tests to ensure the puppet classes apply cleanly and the site
comes up. Uses a stubbed version of planet.ini to avoid waiting to sync
all the content.

Change-Id: I6baa4a1ba977845e6648932f6c2f15949fe6d0ff
2018-07-11 18:40:02 +02:00
Colleen Murphy 6d20d0feb7 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: I0a2345efec993110c32e4f78d497243e08893376
2017-08-18 10:41:44 +02:00
Colleen Murphy 6a7b0e8f69 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: I5a114e09827772d60560accb84109256e6541da8
2017-06-24 16:26:59 +02:00
Ian Wienand 4637705ab5 Move logrotate to site.pp
It's trying to rotate /var/log/planet/planet.log -- it's actually
/var/log/planet/openstack.log as specified in the cron entry above.
Move the logrotate into the site.pp so it picks up the right ${name}

Change-Id: Ic57c8325b3e44890a58273d2bad1e59fbeac682c
2017-04-05 11:10:00 +10:00
Ian Wienand 36f03ff9c4 Up cron to 15 minute runs
5 minute runs are actually pretty close to overlapping due to polling
all the remote blogs.  I'm sure we can wait a few more minutes for a
blog post here.

Change-Id: I2a5455f0daadca79327e8a325f29c39a9dfde70d
2017-04-03 13:50:16 +10:00
Ian Wienand a6527c7628 Rotate planet log file
Rotate the log file periodically

Change-Id: I93606391a49a4475b88abec51bcc959b4d1962b6
2017-04-03 13:50:14 +10:00
Spencer Krum f66eee5b29 Use new infra_spec_helper for gem dependencies
Change-Id: Ie460fe7b5ad462e398640f569de1e56a4bfe9703
2016-06-21 18:39:44 -07:00
Spencer Krum da0e1138ee Pin google-api-client; sanitize Gemfile
Change-Id: I8b26d2a4eea522c39555942758ab23c16478b40f
2016-04-14 15:22:39 -07:00
Spencer Krum eeade13b76 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Ie451742bd2117b966665f8614425448f66295985
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:41:05 -07:00
Spencer Krum 16b9ef8802 Boilerplate beaker-rspec files
Change-Id: Ib5317dd6c8f9fbabb98ab7f97d5327e7b2f981f9
2015-07-28 02:05:31 -07:00
Paul Belanger cdeadce7ad Migrate to puppet-httpd module
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.

This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.

Change-Id: Id1010fda360e7dceedca8dd1df009ca75a610777
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-16 15:41:16 -04:00
Jeremy Stanley 862d51e47d 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: Ie399a303af7b9bfd3b75a4d0863595f286bdbd33
2015-05-14 21:44:30 +00:00
Ramy Asselin d6ac2227fd Rename openstackci to openstackinfra
Change-Id: I6b7825a94e7385eb82c2c24aad7f7c1cc8d59bea
2015-04-20 13:46:13 -07:00
Joshua Hesketh c84b81c88b 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: I9f01b0d445718baf43bfcfe1743d2d01494fe3dd
2015-01-29 14:06:06 +11:00
James E. Blair d7c83b951f Remove remove_nginx.
Remove remaining remove_nginx usage (it has been removed).

Change-Id: Icfd8c3ad7205777e50722ea82d1922bcad523e48
Reviewed-on: https://review.openstack.org/29819
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-20 20:40:03 +00:00
Paul Belanger fb0e6e26e2 More puppet-lint formatting fixes
Yet another bunch of puppet-lint fixes.

Change-Id: I9574cf1c5e35620b12e4d5e2bd6b2eb4d320c935
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/13988
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-05 19:47:44 +00:00
Monty Taylor f892d7060a Align all web server usage on apache module.
Change-Id: Idd712a8ee5ec81c6b88b7d3e2270dce4da254927
Reviewed-on: https://review.openstack.org/10838
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:03:46 +00:00
Monty Taylor ea403c5dee Replace manual git work with vcsrepo module.
Change-Id: Ia0f3acd50aab07cc83d13cd12c8f7fc67f1c697d
Reviewed-on: https://review.openstack.org/10832
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-07 07:09:43 +00:00
Monty Taylor 722ab9d926 Pull in cron, not in puppet.
We were pulling new changes in the puppet run, and doing planet
as a separate cron job. How about we just let the cron job run
planet and let puppet install planet.

Change-Id: I68d90fd939f184d5f8bd30f4e0f95ccc7a777048
2012-07-24 17:55:01 -05:00
Andrew Hutchings 265fdefba1 Cleanup puppet modules
Make files notify services to restart when changed
Improve planet's cron, spit out a date/time and append instead of overwrite log

Change-Id: I0c2ee96c4aff5512a891c49b8b2df5c20c9cab44
2012-02-06 16:32:34 +00:00
Andrew Hutchings a56778c211 Fix cron on planet
Fix issues with cron and log planet

Change-Id: Id7a8371776049396337d8ca0f9d3665453c65bbb
2012-02-03 19:34:08 +00:00
Andrew Hutchings f9ad6def56 Fix git usage in the planet puppet module
Change-Id: Ia13cc44c219e53d905157ae6f4f2305d7b1115dd
2012-02-03 18:38:12 +00:00
Andrew Hutchings 45516b6210 Add planet support
Adds planet module and planet.openstack.org site.

Change-Id: Id4d495889346e0a0d85d0fd05e40d451b04d21b1
Note: will not work with current openstack-planet git branch.  Update for that comming
2012-02-03 14:53:03 +00:00