Commit Graph

27 Commits

Author SHA1 Message Date
OpenDev Sysadmins 6849f83598 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:03 +00:00
Ian Wienand 91e1835b97 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: Id1786980557fa144ac4ca3f778557491a5aa053d
2019-03-24 20:35:40 +00:00
Colleen Murphy a779b502b1 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: I851a6af8ecabed3d781432fd19d6c3e60b2ecca2
2018-07-12 09:57:44 +02:00
Colleen Murphy b922097fc7 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: Ib53678193c4380decc7c6b666c5ec6900da81b4f
2017-08-18 10:41:43 +02:00
Colleen Murphy 5cfa447977 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: I3101641ffd9f2c027a4e29bf1adac2ad45e434f3
2017-06-24 15:53:06 +02:00
Spencer Krum 48d8b0fc77 Use new infra_spec_helper for gem dependencies
Change-Id: I7cc1cd01f9c80999ff2eea9ddd70d235a132d3f5
2016-06-21 18:38:58 -07:00
Spencer Krum 616e2af987 Pin google-api-client; sanitize Gemfile
Change-Id: Ia3784ce7923594e7e079502bb3e4bb84737a5b0d
2016-04-14 15:20:32 -07:00
Andrey Nikitin 1f6efd534c Order of the class parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

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

Change-Id: I4dd4727f94132ce066d42aa87a246dd39c13553e
2016-03-21 13:09:04 +03:00
Spencer Krum b6e8639f67 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I08b0f5913c1162c234219933f276ac607ddd5595
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:39:26 -07:00
Yolanda Robla f9f02e47d4 Allow logrotation actions to be string or array
For prerotate, logrotate, firstaction and lastaction
is very common to need several lines of commands, making
it difficult to pass with a puppet string.
Allow this parameter to be either and string or an array
to allow this usage.

Change-Id: I7451ecc550b50b85c55784ef598f6b45412117fc
2015-08-14 18:03:58 +02:00
Colleen Murphy a94f089535 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: Icc120da2373214a9222e9434e725477096e989d3
2015-08-03 22:36:55 -07:00
Spencer Krum ce473c9cb8 Boilerplate beaker-rspec files
Change-Id: I460e0d10793fd43bac7f1d02387ec07b621b5f1a
2015-07-28 02:04:53 -07:00
Jenkins 1dd25cd29d Merge "Add subclass to remove logrotate configurations" 2015-07-17 21:42:43 +00:00
Yolanda Robla 87e55e8499 Add subclass to remove logrotate configurations
This class will ensure that files under that
logrotate directoy are correctly removed on
demand.

Change-Id: Ifd052804a24806f8f660d25dca68c5af9c4fb605
2015-06-26 15:08:25 +02:00
Spencer Krum df4961a081 Make logrotate::file more resilient
Validate that the first option is a string.
Mutate the path to remove /'s, allowing full paths to be passed.

Change-Id: I341290c430023e5e9a24bf2247482ed818ea4a26
2015-06-22 14:05:26 -07:00
Jeremy Stanley 385a1a5031 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: I774569ee1a9685d7c3955b326d40bb46c6dbf5dd
2015-05-14 21:38:18 +00:00
Ramy Asselin b1a1e21e05 Rename openstackci to openstackinfra
Change-Id: I662aadcfd7c80aeda34ea1a13dad11c85ffdd2eb
2015-04-20 13:45:07 -07:00
Jeremy Stanley eaaefcded4 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:58:19 +00:00
Ramy Asselin 2af2182a51 Add puppet module files for logrotate
Change-Id: I9861c72ea36bd52a82de10ae11cff6f92b5bb18a
2015-01-29 10:38:06 -08:00
Spencer Krum bdee020d9e Fixing deprecation warnings in logrotate module
Change-Id: I9e69cc96db5e84e729d7bdbe655c3933886903ce
2014-08-27 16:40:00 -07:00
James E. Blair 7d0d6df746 Revert "Fixing deprecation warnings"
This reverts commit 82b9b59522928863ddadeacfec819e287303ef20.

Change-Id: I746d7ae57802dc76618db9024a0cf94c43774c02
2014-07-02 17:35:02 +00:00
Spencer Krum a38fb0780e Fixing deprecation warnings
Non instance variable representation is deprecated
so needs to be changed. This change changes varibles
to their instance variable representation.

See more details see:
http://docs.puppetlabs.com/guides/templating.html

Change-Id: Ib77827e01011ef6c0380c9ec7a9d147eafd8ce2f
2014-06-19 22:41:42 -07:00
Matthew Wagoner 3b47507e28 Clean up of minor puppet-lint warnings.
Mostly documentation and parameterised class parameter complaints.

Change-Id: I5b3ffa4ad3f707f385165c2d86c891c6bd4c1ae0
Reviewed-on: https://review.openstack.org/16901
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-11-26 20:55:57 +00:00
Matthew Wagoner 2786720423 style edits to puppet config files
Change-Id: I4f7314bcb1cb58f94ff7a78aebe27ec4591fc11c
Reviewed-on: https://review.openstack.org/14187
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-10-10 21:01:08 +00:00
Monty Taylor b97f7ed409 Remove uses of remove_cron.
Change-Id: Id95228ae662880176b54903ffbcb196fbead992f
2012-07-27 13:12:16 -05:00
James E. Blair bdd1f7afca Use unattended upgrades.
Stop using latest for packages installed by puppet.  This way,
all system packages get updated, not just some random ones.

The unattended-upgrades config will email root.  It is configured
for openstack servers and jenkins slaves, but not template hosts
so that it doesn't interfere with spin-up.

Also, fix some bits in the gerrit module that were causing
continuous restarts on gerrit-dev.

Install emacs.

Change-Id: I51c9083ccd3669f284fce4b50c36a37a0cac92d8
2012-06-05 22:59:46 +00:00
David Shrewsbury 9a04df09eb Added new logrotate puppet module.
Allows us to easily manage log rotation. Example:

  logrotate::file { 'xyz':
    log => '/var/log/xyz.log',
    options => ['compress', 'weekly'],
  }

Change-Id: I84fa3a20e0510a1273aa9b8555da0dde4613f50a
2012-05-07 16:24:42 -04:00