2014-08-29 21:21:51 +00:00
|
|
|
# Copyright 2014 OpenStack Foundation.
|
|
|
|
# Copyright 2014 Hewlett-Packard Development Company, L.P.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
# not use this file except in compliance with the License. You may obtain
|
|
|
|
# a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
|
|
|
# load additional modules from modules.env
|
|
|
|
# modules.env should exist in the same folder as install_modules.sh
|
|
|
|
#
|
|
|
|
# - use export MODULE_FILE to specify an alternate config
|
|
|
|
# when calling install_modules.sh.
|
|
|
|
# This allows for testing environments that are configured with alternate
|
|
|
|
# module configuration.
|
|
|
|
|
2014-12-11 22:00:33 +00:00
|
|
|
# Source modules should use tags, explicit refs or remote branches because
|
|
|
|
# we do not update local branches in this script.
|
2015-06-12 23:07:50 +00:00
|
|
|
# Keep sorted
|
2015-10-06 22:31:06 +00:00
|
|
|
|
2019-04-20 13:34:25 +00:00
|
|
|
OPENSTACK_GIT_ROOT=https://opendev.org
|
2015-10-06 22:31:06 +00:00
|
|
|
|
2017-01-20 16:44:09 +00:00
|
|
|
SOURCE_MODULES["https://github.com/biemond/biemond-wildfly"]="v1.2.4"
|
2017-12-14 19:08:14 +00:00
|
|
|
SOURCE_MODULES["https://github.com/dalen/puppet-dnsquery"]="2.0.1"
|
2015-10-06 22:31:06 +00:00
|
|
|
SOURCE_MODULES["https://github.com/duritong/puppet-sysctl"]="v0.0.11"
|
2017-01-20 16:44:09 +00:00
|
|
|
# initfact is a dep of biemond-wildfly
|
|
|
|
SOURCE_MODULES["https://github.com/jethrocarr/puppet-initfact"]="1.0.1"
|
2015-06-12 23:07:50 +00:00
|
|
|
SOURCE_MODULES["https://github.com/maestrodev/puppet-wget"]="v1.6.0"
|
2016-02-07 16:09:05 +00:00
|
|
|
SOURCE_MODULES["https://github.com/n1tr0g/golja-gnupg"]="1.2.2"
|
2019-03-05 23:07:33 +00:00
|
|
|
SOURCE_MODULES["https://github.com/nanliu/puppet-staging"]="1.0.1"
|
2017-12-13 21:44:15 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-apache"]="1.11.1"
|
2017-05-29 19:58:01 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-apt"]="2.4.0"
|
Upgrade the concat module
The currently installed version of puppetlabs-concat has a bug that
causes concat resources with ensure => absent to be run on every puppet
run. This affects the infracloud module, which uses the
puppetlabs-apache module to configure apache vhosts, which uses the
concat type to ensure the default ssl vhost is absent. This causes the
httpd service to be restarted on every puppet run. The bug was fixed in
1.1.1[1]. This patch upgrades the concat module to 1.2.5, which is the
latest 1.x version.
The concat resource is not used directly by any of our modules[2].
Besides the puppetlabs modules, which we can assume are well-tested
with the latest version of concat, the only other module that appears
to use concat is the selinux module. That module only uses it in the
selinux::restorecond class, which we're not using. So this upgrade
should be safe for us.
[1] https://github.com/puppetlabs/puppetlabs-concat/pull/215
[2] http://codesearch.openstack.org/?q=concat&i=nope&files=%5E.*%5C.pp%24&repos=project-config,puppet-accessbot,puppet-ansible,puppet-apparmor,puppet-apps_site,puppet-askbot,puppet-asterisk,puppet-autossh,puppet-bandersnatch,puppet-bugdaystats,puppet-bup,puppet-cgit,puppet-ciwatch,puppet-dashboard,puppet-diskimage_builder,puppet-drupal,puppet-elastic_recheck,puppet-elasticsearch,puppet-etherpad_lite,puppet-exim,puppet-gerrit,puppet-gerritbot,puppet-github,puppet-grafyaml,puppet-graphite,puppet-haveged,puppet-hound,puppet-httpd,puppet-infra-cookiecutter,puppet-infracloud,puppet-iptables,puppet-jeepyb,puppet-jenkins,puppet-kerberos,puppet-kibana,puppet-lodgeit,puppet-log_processor,puppet-logrotate,puppet-logstash,puppet-mailman,puppet-mediawiki,puppet-meetbot,puppet-mysql_backup,puppet-n1k-vsm,puppet-nodepool,puppet-nslcd,puppet-odsreg,puppet-openafs,puppet-openstack_health,puppet-openstackci,puppet-openstackid,puppet-os_client_config,puppet-packagekit,puppet-pgsql_backup,puppet-phabricator,puppet-pip,puppet-planet,puppet-project_config,puppet-puppet,puppet-redis,puppet-refstack,puppet-releasestatus,puppet-reviewday,puppet-setproxy,puppet-simpleproxy,puppet-snmpd,puppet-ssh,puppet-ssl_cert_check,puppet-stackalytics,puppet-statusbot,puppet-storyboard,puppet-subunit2sql,puppet-sudoers,puppet-surveil,puppet-tmpreaper,puppet-ulimit,puppet-unattended_upgrades,puppet-unbound,puppet-user,puppet-vcsrepo,puppet-vinz,puppet-vitrage,puppet-yum,puppet-zanata,puppet-zuul,system-config
Change-Id: I6abf85fca776cc5cc7f3aee47cc649001e7f15fc
2015-12-14 21:29:01 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-concat"]="1.2.5"
|
2014-12-11 22:00:33 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-firewall"]="1.1.3"
|
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-inifile"]="1.1.3"
|
2015-07-28 02:12:46 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-java_ks"]="1.3.1"
|
2017-06-10 20:45:11 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-mysql"]="3.11.0"
|
2018-04-05 05:09:51 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-postgresql"]="4.8.0"
|
2015-10-06 21:01:20 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-rabbitmq"]="5.2.3"
|
2017-05-29 19:58:01 +00:00
|
|
|
SOURCE_MODULES["https://github.com/puppetlabs/puppetlabs-stdlib"]="4.17.0"
|
2014-12-11 22:00:33 +00:00
|
|
|
SOURCE_MODULES["https://github.com/rafaelfelix/puppet-pear"]="1.0.3"
|
2015-06-17 15:49:24 +00:00
|
|
|
SOURCE_MODULES["https://github.com/saz/puppet-memcached"]="v2.6.0"
|
2019-04-11 16:50:20 +00:00
|
|
|
SOURCE_MODULES["https://github.com/stankevich/puppet-python"]="1.9.5"
|
2017-12-16 00:20:56 +00:00
|
|
|
SOURCE_MODULES["https://github.com/theforeman/puppet-dns"]="4.1.0"
|
2015-07-25 19:20:37 +00:00
|
|
|
SOURCE_MODULES["https://github.com/vamsee/puppet-solr"]="0.0.8"
|
2016-01-05 21:13:18 +00:00
|
|
|
SOURCE_MODULES["https://github.com/voxpupuli/puppet-alternatives"]="0.3.0"
|
2016-04-29 18:43:58 +00:00
|
|
|
SOURCE_MODULES["https://github.com/voxpupuli/puppet-archive"]="v0.5.1"
|
2016-01-05 21:13:18 +00:00
|
|
|
SOURCE_MODULES["https://github.com/voxpupuli/puppet-git_resource"]="0.3.0"
|
2017-12-11 04:37:16 +00:00
|
|
|
SOURCE_MODULES["https://github.com/voxpupuli/puppet-nodejs"]="v2.3.0"
|
2014-11-15 18:05:39 +00:00
|
|
|
|
2015-10-06 22:31:06 +00:00
|
|
|
|
2014-08-29 21:21:51 +00:00
|
|
|
# Add modules that should be part of the openstack-infra integration test here
|
2015-06-12 23:07:50 +00:00
|
|
|
# Please keep sorted
|
2019-04-20 13:34:25 +00:00
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-bup"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-elastic_recheck"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-elasticsearch"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-ethercalc"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-httpd"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-jeepyb"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-kibana"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-log_processor"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-logrotate"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-logstash"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-mediawiki"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-meetbot"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-mysql_backup"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-openstack_health"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-pgsql_backup"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-pip"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-project_config"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-redis"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-reviewday"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-simpleproxy"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-ssh"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-storyboard"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-subunit2sql"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-tmpreaper"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-ulimit"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-user"]="origin/master"
|
2019-03-05 23:01:06 +00:00
|
|
|
# freenode #puppet 2012-09-25:
|
|
|
|
# 18:25 < jeblair> i would like to use some code that someone wrote,
|
|
|
|
# but it's important that i understand how the author wants me to use
|
|
|
|
# it...
|
|
|
|
# 18:25 < jeblair> in the case of the vcsrepo module, there is
|
|
|
|
# ambiguity, and so we are trying to determine what the author(s)
|
|
|
|
# intent is
|
|
|
|
# 18:30 < jamesturnbull> jeblair: since we - being PL - are the author
|
|
|
|
# - our intent was not to limit it's use and it should be Apache
|
|
|
|
# licensed
|
2019-04-20 13:34:25 +00:00
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-vcsrepo"]="origin/master"
|
|
|
|
INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/opendev/puppet-zanata"]="origin/master"
|
2014-11-15 18:05:39 +00:00
|
|
|
|
2014-08-29 21:21:51 +00:00
|
|
|
if [[ "$PUPPET_INTEGRATION_TEST" -ne "1" ]]; then
|
2014-11-15 18:05:39 +00:00
|
|
|
# If puppet integration tests are not being run, merge SOURCE and INTEGRATION modules
|
|
|
|
for MOD in ${!INTEGRATION_MODULES[*]}; do
|
|
|
|
SOURCE_MODULES[$MOD]=${INTEGRATION_MODULES[$MOD]}
|
|
|
|
done
|
2014-08-29 21:21:51 +00:00
|
|
|
fi
|
|
|
|
|