Commit Graph

24 Commits

Author SHA1 Message Date
Clark Boylan 65b9cce959 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: I10088d327225326c30a9f2e31601f77af397dea8
2022-02-17 13:00:45 -08:00
OpenDev Sysadmins b4d7283e82 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:38 +00:00
Ian Wienand 5fd5d43cc0 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: I43b42b14209f88bdf48e4a37ef082123f4aed9c7
2019-03-24 20:35:46 +00:00
Colleen Murphy acde80570d 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: I6e0786eb3891a9cba702635cf6cfdb8bd8d03cd4
2018-07-12 09:57:46 +02:00
Colleen Murphy 825b3d68f5 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: I0fd016546fb86a946f6f484f205b875b2b6f1b9d
2017-08-18 10:41:44 +02:00
Colleen Murphy 80ea352016 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: Ibdb9356cd3d50a92d0c63a423acd2645c7b161c2
2017-06-24 16:44:51 +02:00
Spencer Krum 25c0e6afd6 Use new infra_spec_helper for gem dependencies
Change-Id: Iead84c529ede904f8fbd45cecc6bd42624c89cf5
2016-06-21 18:40:36 -07:00
Spencer Krum f1588fafc2 Pin google-api-client; sanitize Gemfile
Change-Id: I4d4fbdaac81e3e766bd59e9d0966a52ae95dff40
2016-04-14 15:25:06 -07:00
Andrey Nikitin e7095a8c62 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: Iba9d98084242d50d6a764f3dbaf3b81c3536343b
2016-03-22 12:51:07 +03:00
Yolanda Robla 677d48d42f Enable automatic cleanup
Set Unattended-Upgrade:Remove-Unused-Dependencies flag to
true, that is the equivalent of enabling automatic
apt-get autoremove.
This will regularly clean up cruft from our servers, preventing
them to run out of disk space or inodes unexpectedly.

Change-Id: I37871087b7b3beb02329d84ef240bde23197291b
2015-12-09 20:35:52 +01:00
Spencer Krum 5d3332de4e Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: If965fbcdcff98e72bfc88657792cb03cde09e5f9
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:43:01 -07:00
Colleen Murphy b2cf148b1b 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: I9f0622114a0e9995f534cc47a2aacf04fec308f5
2015-08-14 11:04:07 -07:00
Spencer Krum 3d21e16886 Boilerplate beaker-rspec files
Change-Id: Ie5bbc4cf5bf1a1897f22aa48af276f61d6486c35
2015-07-28 02:06:14 -07:00
Jeremy Stanley 161d318d5b 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: I1a7ec4ce518947a3ba95d8d096f8850fca085f10
2015-05-14 21:45:18 +00:00
Ramy Asselin 58d69ded11 Rename openstackci to openstackinfra
Change-Id: I2216b3891b3c07dc88f4701dc77f12d4dd806852
2015-04-20 13:51:26 -07:00
Ramy Asselin 3be643aac4 Add puppet module files for unattended_upgrades
Change-Id: I801ec75065a67330271bf1947d8231cc338588d6
2015-01-29 19:22:10 -08:00
Spencer Krum 2c511a2f2e Fix depercation warnings in templates for unatttended upgrades
Change-Id: I350395cce283a968c80de3a92d38b3594432a97c
2014-08-27 16:40:00 -07:00
James E. Blair 2be607e956 Revert "Fixing deprecation warnings"
This reverts commit 82b9b59522928863ddadeacfec819e287303ef20.

Change-Id: I746d7ae57802dc76618db9024a0cf94c43774c02
2014-07-02 17:35:02 +00:00
Spencer Krum d1e5cc79e5 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
Jeremy Stanley e3bf9169d9 Add saltstack APT repository to automatic upgrades
* modules/openstack_project/manifests/automatic_upgrades.pp: Pass
the additional allowed origins list through to the unattended
upgrades module.

* modules/openstack_project/manifests/slave.pp: Add the
"LP-PPA-saltstack-salt precise" repository origin to the list of
allowed origins for automatic upgrades.

* modules/unattended_upgrades/manifests/init.pp: Add a list of
additional allowed origins for package repository upgrades and
convert the apt-preferences stub for 50unattended-upgrades to a
template so the list can be applied to it.

* modules/unattended_upgrades/templates/50unattended-upgrades.erb:
Renamed from ../../files/50unattended-upgrades and enhanced with a
loop over the origins list to append to the default set of allowed
upgrade origins.

Change-Id: I821d199ae1a00ed78c2a52bf80ddba8a4eaa7d8b
2013-09-12 17:12:18 +00:00
Matthew Wagoner c03dd24c37 Clean up of minor puppet-lint warnings.
Mostly documentation and parameterised class parameter complaints.

Change-Id: Idbfd348a5befb041ce6eb36f9c6b195fc0c6799f
Reviewed-on: https://review.openstack.org/16685
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-23 21:41:37 +00:00
Matthew Wagoner 4870ba5365 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
Clark Boylan f19ca76b43 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 e8258e2b57 Replace use of local apt module with upstream.
Change-Id: Idcf8af9712f8d10b50cfffc0aa74f7caa1a24c77
Reviewed-on: https://review.openstack.org/10833
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:10:43 +00:00