Commit Graph

44 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
OpenDev Sysadmins b6ad571557 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:35 +00:00
Colleen Murphy 92a27b18c3 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: I74fd209d1b8257ebd146e50fa36fda8ceecc4e03
2018-07-12 09:57:45 +02:00
Colleen Murphy 27afa3ab77 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: Id8e6d1901d6f17a393d235682a8a864c3397698e
2017-08-18 10:41:44 +02: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 b63aa4a17b Correct certificates class name in vhost template
The correct name for the certs class in this module is
"certificates".

Change-Id: I61d3044e91db3f0be54c890d0592cd6b0417d412
2016-11-16 22:22:41 +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
Jenkins 402723d565 Merge "Patches Required to Deliver Pholio" 2016-09-12 20:56:06 +00:00
Jenkins 16b7326633 Merge "Deleting files surplus to this module." 2016-09-12 20:56:01 +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
Craige McWhirter bbdcefa296 Add MySQl & Other Configuration Options to Pholio
This changes adds the following configuration options to Phabricator
/ Pholio:

* Configures MySQL options
* Timezone set to UTC
* Disables the requirement for email verification
* Disables the requirement to have an administrator approve new
accounts.
* Sets the default viewing policy to "public".
* Enables requiring HTTPS for all connections.

Change-Id: Iab189f099efaa5354d944a15cf15776f2b39788a
Implements: Spec Pholio
2016-08-03 14:22:38 +10:00
Craige McWhirter 7b238dceee Deleting files surplus to this module.
Change-Id: I0526ff6f504d615ecfcafb8416dea625f38377ec
Implements: Spec Pholio
2016-08-03 11:26:30 +10:00
Spencer Krum b81f084373 Use new infra_spec_helper for gem dependencies
Change-Id: I51dae5db89b09395f465a8e18ff5af2c9a16f592
2016-06-21 18:39:38 -07:00
Spencer Krum 0978a15076 Pin google-api-client; sanitize Gemfile
Change-Id: I96703695ad1c70db3428a42cac3aa31cac4c00be
2016-04-14 15:22:22 -07: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
Craige McWhirter 3dd450ac5e Re-home migrate-to-phab.sql
This has nothing to puppet-phabricator so it has
been moved to system-config.

Depends On: https://review.openstack.org/#/c/240682/

Change-Id: If7d6c0580de6ee57fde882ca1d2b097dff760485
2015-11-02 18:20:42 +10:00
Craige McWhirter b198db5e3f Fixes Authentication issues
This patch addresses the following:
  - Corrects the default setting for isMailingList
    (turns out people are *NOT* mailing lists. Someone tell marketing!)
  - Corrects the default setting for isApproved

Changed the SQL syntax for the user migration for clarity.

Change-Id: I56cdc52706a026fea0c0c28883dc01da6fa1018f
Implements: spec maniphest migration
2015-10-22 14:56:41 +10:00
Craige McWhirter 4fad418135 Update SQL Migration Script
This change updates the migration script to work with the current
version of Storyboard and stable Phabricator.

Change-Id: Ie4b4a3a218221ed38a49e97ba78f9976668459c8
Implements: spec maniphest migration
2015-10-16 19:23:05 +10:00
Spencer Krum dc5d2f376d Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I4fb3d2535cffb3b4c2be74a230b827861ffb31dc
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:40:52 -07: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
Spencer Krum 6b8ff4b357 Boilerplate beaker-rspec files
Change-Id: Ib5abba9447876f6ea9d1ece05c0632ca9f205f8d
2015-07-28 02:05:25 -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
Paul Belanger f899839625 Add .gitreview file
Change-Id: Ia1a93633b638eb0ef266cc1073f4e3148b43b384
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-14 15:16:19 -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
Monty Taylor d0cc00c591 Merge pull request #7 from cinerama70/removed-option
Remove obsoleted option from local.json template
2015-05-13 10:36:01 -04:00
Monty Taylor 92d32af247 Merge pull request #8 from cinerama70/php-max
Set post_max_size to recommended value
2015-05-13 10:35:44 -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 5500a57e96 Remove obsoleted option from local.json template
Phabricator reports that this option is no longer used, so remove
it from our configs.
2015-04-03 16:40:50 -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
Monty Taylor cb29220333 Merge pull request #2 from cinerama70/template-scope
Scope vars for apache template
2015-04-03 10:47:02 -04:00
Monty Taylor ab7d0142a6 Merge pull request #3 from cinerama70/working-apache
Working apache
2015-04-03 10:45:58 -04:00
stephane 545fbc9ba3 Apache config adjustments
Some quick adjustments to get phab to actually run.
2015-04-02 17:06:09 -07:00
stephane dcfe9c27a8 Scope vars for apache template
The variables we use from the phabricator class should get the
right scope in the template or they won't work properly.
2015-04-01 19:02:14 -07:00
stephane 6ffd68ae30 Scope vars for apache template
The variables we use from the phabricator class should get the
right scope in the template or they won't work properly.
2015-04-01 18:56:44 -07:00
stephane ad46be7758 Merge branch 'lint-and-stuff' of github.com:cinerama70/puppet-phabricator into lint-and-stuff
Conflicts:
	manifests/init.pp
2015-04-01 18:30:43 -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
stephane caf5edb376 Make the linter happy and do other changes that allow the manifest
to run all the way through.
2015-04-01 18:21:32 -07:00
Monty Taylor 4816c135c7 Initial commit 2015-04-01 17:10:52 -04:00