Jcrespo has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/337827 )
Change subject: phabricator database: Move templates to the role
......................................................................
phabricator database: Move templates to the role
Because templates dir is deprecated, move away the related files.
Make sure we do not break anything in the process.
Change-Id: I96a38bb257154c8c6b4d8b07573729d89d8c8498
---
M modules/role/manifests/mariadb.pp
R modules/role/templates/phabricator/init.sql.erb
R modules/role/templates/phabricator/stopwords-update.sql.erb
R modules/role/templates/phabricator/stopwords.txt.erb
4 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/27/337827/1
diff --git a/modules/role/manifests/mariadb.pp
b/modules/role/manifests/mariadb.pp
index 35ce6ee..f63d311 100644
--- a/modules/role/manifests/mariadb.pp
+++ b/modules/role/manifests/mariadb.pp
@@ -313,7 +313,7 @@
owner => 'root',
group => 'root',
mode => '0644',
- content => template('mariadb/phabricator-stopwords.txt.erb'),
+ content => template('role/phabricator/stopwords.txt.erb'),
}
file { '/etc/mysql/phabricator-stopwords-update.sql':
@@ -321,7 +321,7 @@
owner => 'root',
group => 'root',
mode => '0644',
- content => template('mariadb/phabricator-stopwords-update.sql.erb'),
+ content => template('role/phabricator/stopwords-update.sql.erb'),
}
file { '/etc/mysql/phabricator-init.sql':
@@ -329,7 +329,7 @@
owner => 'root',
group => 'root',
mode => '0644',
- content => template('mariadb/phabricator-init.sql.erb'),
+ content => template('role/phabricator/init.sql.erb'),
}
class { 'role::mariadb::grants::production':
diff --git a/templates/mariadb/phabricator-init.sql.erb
b/modules/role/templates/phabricator/init.sql.erb
similarity index 100%
rename from templates/mariadb/phabricator-init.sql.erb
rename to modules/role/templates/phabricator/init.sql.erb
diff --git a/templates/mariadb/phabricator-stopwords-update.sql.erb
b/modules/role/templates/phabricator/stopwords-update.sql.erb
similarity index 100%
rename from templates/mariadb/phabricator-stopwords-update.sql.erb
rename to modules/role/templates/phabricator/stopwords-update.sql.erb
diff --git a/templates/mariadb/phabricator-stopwords.txt.erb
b/modules/role/templates/phabricator/stopwords.txt.erb
similarity index 100%
rename from templates/mariadb/phabricator-stopwords.txt.erb
rename to modules/role/templates/phabricator/stopwords.txt.erb
--
To view, visit https://gerrit.wikimedia.org/r/337827
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I96a38bb257154c8c6b4d8b07573729d89d8c8498
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits