Commit Graph

19 Commits

Author SHA1 Message Date
Monty Taylor bc8279c3fa Retire repo
Depends-On: https://review.opendev.org/720892
Change-Id: Ie299fa63ab86bb04652424167f81840494473299
2020-04-22 10:19:19 -05:00
Colleen Murphy bed93f260a 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. Also fix linter errors.

Change-Id: Iae66db33213aadcaad76879e0fe9b40db4e65f86
2017-06-24 16:33:30 +02:00
Jeremy Stanley 06bfcaa60e Run database migrations when necessary
Check the output of the `storage status` command for appearance of
"Not Applied" migrations, and run an upgrade if so. This works
around an earlier assumption that the command would exit nonzero
when there are pending migrations, but it seems to exit zero even
under those conditions.

Change-Id: I5ff8026bfaaf31c8abcd55efc217256605be9e73
2016-12-19 19:22:30 +00:00
Jeremy Stanley a72ab07bef Refactor and standardize SSL/TLS and vhost config
Make SSL/TLS certificate file handling and snakeoil fallback logic
more flexible, no longer expecting you to unconditionally set file
paths so you can just provide contents and allow the module to store
them in a location it considers sane.

Also adjust the vhost template to match the pattern we've been
standardizing on across existing modules (such as our recently
improved mediawiki module), with clearer variable scope lookups and
stronger crypto configuration.

While in the vicinity, also remove a hard-coded default ServerAdmin
E-mail address default to make the module less OpenStack-community
specific.

Change-Id: I238682ac05bdd20ec293b7a16370563763e35249
2016-11-16 18:54:04 +00:00
Jenkins 06e46181cb Merge "Configure HTTPD and HTTPS certificates" 2016-11-04 02:31:00 +00:00
Craige McWhirter a9b78c07f3 Configure HTTPD and HTTPS certificates
This change provides the puppet files required to configure Phabricator
/ Pholio for HTTPD and requisite HTTPS certificates.

Change-Id: I2b04fac576417a032b1b4f961a4cc19378eeea7c
Implements: Spec Pholio
2016-09-05 10:50:36 +10:00
Craige McWhirter 00dd06afe4 Patches Required to Deliver Pholio
This set of patches delivers the changes required to install and
configure an instance of Pholio for the UX team.

Change-Id: I394da0070214af5ceadb3e236eca8a1b78562a72
Implements: Spec Pholio
2016-08-31 10:06:44 +10:00
Andrey Nikitin 9f3a6ed02a Order of the classes 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: Ifa545d915d25f587e965dbb2852dbfe190f763a2
2016-03-21 18:06:31 +03:00
Colleen Murphy 6d9e839729 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-empty_string-check gem as well as
arrow alignment errors raised by the newer version of puppet-lint.

Change-Id: I541aff1e4848e46918f7d6e1750c2afa26fb2f3a
2015-08-13 12:48:39 -07:00
Colleen Murphy fea61c6c44 Make mysql root password required
The mysql server needs to have a password set, so allowing the default
to be the empty string is not appropriate and will result in unexpected
failures.

Change-Id: I13c804509cbf9c922f367800d704e20ce5b818f9
2015-08-13 12:48:29 -07:00
Paul Belanger e88d6b3d86 Migrate to puppet-httpd module
puppet-httpd is the openstack-infra version of puppetlabs-apache
(0.0.4) release.

This patchset will remove the puppetlabs-apache namespace from -infra
allowing for possible future patchsets to use newer puppetlabs-apache
modules.

Change-Id: I816668b67f461bf1e6769a50a730716efcb2cf8e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-16 15:44:41 -04:00
Monty Taylor 13fccc674c Merge pull request #5 from cinerama70/mysql-configs
Add optional base MySQL configs
2015-05-13 10:36:43 -04:00
Monty Taylor 308224f347 Merge pull request #6 from cinerama70/pygmentize
Install pygmentize
2015-05-13 10:36:15 -04:00
stephane 45cbe6eed3 Set post_max_size to recommended value
phabricator suggests a PHP post_max_size of 32M. Create a conf.d
file so we can set the value.
2015-04-03 17:07:43 -07:00
stephane 4fe0ba20f9 Install pygmentize
Address another one of phabricator's complaints by installing
pygmentize.
2015-04-03 16:38:28 -07:00
stephane 8c6b13b09c Add optional base MySQL configs
Phabricator complains about some of its MySQL configuration
on startup. Resolve this issue by providing an optional class
to handle MySQL configuration with the appropriate parameters
set.
2015-04-03 16:30:44 -07:00
stephane 545fbc9ba3 Apache config adjustments
Some quick adjustments to get phab to actually run.
2015-04-02 17:06:09 -07:00
stephane 3353d5feba Make the linter happy
and do other changes that allow the manifest to run all the way through.
2015-04-01 18:26:28 -07:00
Monty Taylor 4816c135c7 Initial commit 2015-04-01 17:10:52 -04:00