Dzahn has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/327690 )
Change subject: phabricator: delete labs role ...................................................................... phabricator: delete labs role Since Paladox and others have worked on the production role it can finally be used in labs (yay) and therefore we should delete the special labs role and just keep using the same one for labs and prod as it should be. see: T139475#2839305 Bug: T139475 Change-Id: I93748a1ce4391b5930a15f8d689aaec610d9784b --- D modules/role/manifests/phabricator/labs.pp 1 file changed, 0 insertions(+), 71 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/90/327690/1 diff --git a/modules/role/manifests/phabricator/labs.pp b/modules/role/manifests/phabricator/labs.pp deleted file mode 100644 index ec42f3d..0000000 --- a/modules/role/manifests/phabricator/labs.pp +++ /dev/null @@ -1,71 +0,0 @@ -# phabricator instance on wmflabs at phab-0[1-9].wmflabs.org - -class role::phabricator::labs( - $settings, -) { - - $conf_files = { - 'www' => { - 'environment' => 'www', - 'owner' => 'root', - 'group' => 'www-data', - 'phab_settings' => { - 'mysql.user' => 'root', - 'mysql.pass' => 'labspass', - } - }, - 'phd' => { - 'environment' => 'phd', - 'owner' => 'root', - 'group' => 'phd', - 'phab_settings' => { - 'mysql.user' => 'root', - 'mysql.pass' => 'labspass', - } - }, - } - - $role_settings = { - 'darkconsole.enabled' => true, - 'phabricator.base-uri' => "https://${::hostname}.wmflabs.org", - 'mysql.pass' => $mysqlpass, - 'auth.require-email-verification' => false, - 'metamta.mail-adapter' => 'PhabricatorMailImplementationTestAdapter', - 'repository.default-local-path' => '/srv/repos', - 'phd.taskmasters' => 1, - 'config.ignore-issues' => '{ - "security.security.alternate-file-domain": true - }', - } - - $phab_settings = merge($settings, $role_settings) - # pass not sensitive but has to match phab and db - $mysqlpass = 'labspass' - $phab_root_dir = '/srv/phab' - - class { '::phabricator': - deploy_target => 'phabricator/deployment', - phabdir => $phab_root_dir, - libraries => ["${phab_root_dir}/libext/Sprint/src", - "${phab_root_dir}/libext/security/src", - "${phab_root_dir}/libext/misc/"], - settings => $phab_settings, - conf_files => $conf_files, - } - - package { 'mysql-server': ensure => present } - - class { 'mysql::config': - root_password => $mysqlpass, - sql_mode => 'STRICT_ALL_TABLES', - restart => true, - require => Package['mysql-server'], - } - - service { 'mysql': - ensure => running, - hasrestart => true, - hasstatus => true, - require => Package['mysql-server'], - } -} -- To view, visit https://gerrit.wikimedia.org/r/327690 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I93748a1ce4391b5930a15f8d689aaec610d9784b Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits