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: I8e713edb853b284c977957ce28590685df908bca
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: I479bd357ae4483b91d401e83db719a5f6d968487
It seems after 7.4 point release, python-six is used my other packages beside cloud-init (specifically libstoragemgmt). For now, revert so we can get puppet working again. Then start discussions on creating DIB images for control plane servers.
This reverts commit 5c956c5995.
Change-Id: Iff7723b24eaa9aed207efd330fc0ae756020a072
This results in the removal of cloud-init, which is not used by anything
in Infra land. Should this cause further issues, this module should
be reworked to install jeepyb into a virtualenv instead.
Change-Id: I24b4ce816e442a273d244b6bcb66a29c198d7c86
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: Ib8c5c1bd7d4a5c7175623ed9dc53683d2f592786
crontab syntax requires % to be escaped, but puppet complains about '\%'
in strings, so we need to double escape it in puppet. This will result
in a single-escaped % in the crontab.
Change-Id: I2fcb3fca5b2d09e8b0a15036c8d4cbad1a83ba3a
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: Ia374b69f29f522c1b1884bee9428de0cb5e7da50
Currently the jeepyb install has a race. install_jeepyb is
called without requiring the needed packages. This causes
that puppet needs to be run at least twice to converge.
Adding the proper require on place to fix that problem,
also switching to virtual resources and require, to avoid
cross duplicates with other projects such as puppet-openstackci
Change-Id: I34864ed7f0ba991d48de80fe6d64eebcd3df300a
This is the actual package name. Using the unversioned package
will cause puppet to attempt to install it each time.
Change-Id: I03850efb0f2b0cf3e00dbf906af97ca51b0840d5
The pip install currently failed because of missing
libffi-dev and libssl-dev/openssl-devel packages
Change-Id: I91b4851b58a41764289273d5b6b548e6dbcac3a4
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: I6dbfc2fd3769b174e493bd0392a652eca160f2bd
In preperation for moving the Zanata scripts from project-config into
jeepyb, lxml will be added to its requirement. This requires the
development libraries libxml2 and libxslt to be installed, so ensure
they are.
Change-Id: Id21eb3039f25e5c675674b5ca53179bd9d3c918f
When the dependent patch is merged, Jeepyb will depend on PyMySql and
install it from pip as part of its requirements. Therefore it will no
longer be necessary to include the mysql::python class, which installs
the python-mysqldb package from Ubuntu packages. Removing this class
inclusion will make transitioning to an up-to-date version of the mysql
puppet module easier, as the current version moves the mysql::python
class to mysql::bindings::python.
Change-Id: I7dec1c6f588cb3e1d0eb3cb2eb6398df45ebdc22
Depends-On: I3afeaebeb8416388d5866fc3994357935079c97d
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: Iba383513a595db0f2347476f0a39b3cd5879a648
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
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 as well
as arrow alignment errors not caught before.
Change-Id: I6ee8cc21247258d9a37ce3304c207c4b637378f7
The swift_username, swift_password, swift_auth_url, and json_url
parameters all must be specified in order to work correctly, a default
value of empty string will cause brokenness. This patch removes the
default values for those parameters so that puppet will warn the user
that these values are required.
For the auth_version parameter, a default value of 1.0 is a safe
potential guess, so we change the default value from empty string to
'1.0'.
The feed parameter is no longer used as of
fdc8fd45bb, so we remove it.
Change-Id: I0a10c0df80cb6a74e7bcc17d96e27e62373c61ff
Depends-On: Ie3c4f5184445b4653997c091279f21a3e9503b84
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: I92c50fa9ac340f6b5c68c998c9189469a9d1f58c
Manage_projects is run in two different ways:
one in a cronjob, one due to subscription. Create
helper classes to isolate that behaviour, to move
logic from system-config.
Change-Id: I4132646446dfe575c333b981aea9a7778c13bcf0
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
Add some boilerplate files to the project now that this module has been
split out into its own project.
Change-Id: Ibf31378913a9c8421350138ccd069cf136285b42
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
This patch adds logging to the puppet exec for manage-projects
within gerrit.pp.
It also adds logging to jeepyb, which can also cover logging for
manage-projects, which is a script within jeepyb.
Change-Id: I4cd1137e4bf62e0d19a8a337c98b3a33df38a0c0
Fixes-bug: 1245905
These things were listed before we had jeepyb as its own things
(gerritlib in gerrit) and before jeepyb has pbr/requirements.txt
as it does now. With the move to pip install -U . in /opt/jeepyb,
there is no need to also ask puppet to manage these.
Change-Id: I7b521d03b3df8c0bde37586748769f160e615d31
The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.
Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.
Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.
Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
The entrypoints use for jeepyb won't work without pycrypto
installed, so we want to be able to pip install pycrypto which
requires the gcc package.
Change-Id: I9ff914347743c20728b5b10028866d8cbc7f0c61
* modules/jeepyb/manifests/init.pp: Special-case the
Python YAML bindings package name depending on facter osfamily.
Change-Id: Iaa11e601e387428040a5d992219bd67812d8bac8
Reviewed-on: https://review.openstack.org/28652
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins