System configuration for the OpenDev Collaboratory
Go to file
Ian Wienand 4abd0a3184 yamlgroup: add regex match; exclude puppet4 for arm64 mirrors
Two related changes that need to go together because we test with the
production groups.yaml.

Confusingly, there are arm64 PC1 puppet repos, and it contains a bunch
of things that it turns out are the common java parts only.  The
puppet-agent package is not available, and it doesn't seem like it
will be [1].  I think this means we can not run puppet4 on our arm64
xenial ci hosts.

The problem is the mirrors have been updated to puppet4 -- runs are
now breaking on the arm mirrors because they don't have puppet-agent
packages.  It seems all we can really do at this point is contine to
run them on puppet3.

This is hard (impossible?) to express with a fnmatch in the existing
yamlgroups syntax.  We could do something like list all the mirror
hosts and use anchors etc, but we have to keep that maintained.  Add
an feature to the inventory plugin that if the list entry starts with
a ^ it is considered a full regex and passed to re.match.  This
allows us to write more complex matchers where required -- in this
case the arm64 ci mirror hosts are excluded from the puppet4 group.

Testing is updated.

[1] https://groups.google.com/forum/#!msg/puppet-dev/iBMYJpvhaWM/WTGmJvXxAgAJ

Change-Id: I828e0c524f8d5ca866786978486bc04829464b47
2019-04-11 21:34:57 +00:00
doc Remove no longer used logstash config 2019-04-05 17:29:24 -07:00
docker Merge "Run python with jemalloc in containers" 2019-04-05 23:22:05 +00:00
hiera Merge "Add #openstack-uk to statusbot's list of channels" 2019-04-10 03:57:41 +00:00
inventory yamlgroup: add regex match; exclude puppet4 for arm64 mirrors 2019-04-11 21:34:57 +00:00
kubernetes Fix gitea k8s files 2019-02-14 16:39:12 -08:00
launch Add --flush-cache to launch.py ansible 2019-03-19 17:09:41 +11:00
manifests Use docs.opendev.org ssl cert 2019-03-26 15:31:50 -07:00
modules/openstack_project Merge "opensuse: Fix mirroring source for the tumbleweed emergency update repo" 2019-04-11 17:34:07 +00:00
playbooks yamlgroup: add regex match; exclude puppet4 for arm64 mirrors 2019-04-11 21:34:57 +00:00
roles Skip installing puppetlabs repos if they exist 2019-04-09 18:30:13 +10:00
roles-test Make kdc03 the master kerberos kdc and admin server 2019-02-22 15:47:49 -08:00
testinfra letsencrypt support 2019-04-02 15:31:41 +11:00
tools Update hieraedit for python3 2019-03-26 15:32:23 -07:00
.gitignore Ignore ansible .retry files 2016-07-15 12:04:48 -07:00
.gitreview Rename config to system-config in .gitreview 2014-10-17 22:31:20 +00:00
.zuul.yaml letsencrypt support 2019-04-02 15:31:41 +11:00
COPYING.GPL Add yamlgroup inventory plugin 2018-11-02 08:19:53 +11:00
Gemfile Add beaker tests for openstack_project::server 2018-07-10 22:04:57 +02:00
README.md Replace openstack.org git:// URLs with https:// 2019-03-25 09:40:52 -07:00
Rakefile Further changes to bring puppetboard online 2014-03-22 12:54:38 -07:00
bindep.txt Add libffi dev packages needed for ansible install 2016-10-04 15:20:00 -07:00
install_modules.sh Merge "Support puppet5 for bionic" 2018-08-22 21:26:36 +00:00
install_puppet.sh Install the puppetlabs puppet package 2018-08-23 14:55:08 +10:00
make_swap.sh Add base playbooks and roles to bootstrap a new server 2018-08-01 14:57:44 -07:00
modules.env Merge "Bump puppet/staging to 1.0.1 to satisfy mysql module dep" 2019-03-06 20:07:39 +00:00
mount_volume.sh Add support to launch-node for cinder attach 2016-04-19 11:07:23 -07:00
roles.yaml Replace openstack.org git:// URLs with https:// 2019-03-25 09:40:52 -07:00
run_all.sh Fix puppet 4 installations 2019-03-08 14:18:28 -08:00
run_cloud_launcher.sh run_cloud_launcher.sh : generate runtime stats 2018-11-08 08:43:40 +11:00
run_k8s_ansible.sh Change to parent dir in run_k8s_ansible.sh 2019-03-15 09:51:40 +11:00
run_puppet.sh Clean up bashate failures 2014-09-30 12:40:59 -07:00
setup.cfg Update to openstackdocstheme 2018-06-25 11:19:43 +10:00
setup.py Update to openstackdocstheme 2018-06-25 11:19:43 +10:00
test-requirements.txt Cap ansible-lint at < 4.0.0 2018-12-18 12:21:09 -08:00
tox.ini Test gitea project creation playbook 2019-03-06 18:42:39 +00:00

README.md

Puppet Modules

These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.

The main entry point is in manifests/site.pp.

In general, most of the modules here are designed to be able to be run either in agent or apply mode.

These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.

See http://docs.openstack.org/infra/system-config for more information.

Documentation

The documentation presented at http://docs.openstack.org/infra/system-config comes from https://git.openstack.org/openstack-infra/system-config repo's docs/source. To build the documentation use

$ tox -evenv python setup.py build_sphinx