Alexandros Kosiaris has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/404309 )
Change subject: grafana: Hieraize parameters
......................................................................
grafana: Hieraize parameters
Allow the parameters in the profile::grafana class to be looked up using
explicit hiera calls
Bug: T170150
Change-Id: Ic9180f45ec19e81ab1236208a47b7622458fdea0
---
M modules/profile/manifests/grafana.pp
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/09/404309/1
diff --git a/modules/profile/manifests/grafana.pp
b/modules/profile/manifests/grafana.pp
index b1e480e..0de22da 100644
--- a/modules/profile/manifests/grafana.pp
+++ b/modules/profile/manifests/grafana.pp
@@ -3,12 +3,12 @@
# Grafana is a dashboarding webapp for Graphite.
#
class profile::grafana (
- $readonly_domain,
- $admin_domain,
- $secret_key,
- $admin_password,
- $ldap_editor_description,
- $ldap_editor_groups,
+ $readonly_domain=hiera('profile::grafana::readonly_domain'),
+ $admin_domain=hiera('profile::grafana::admin_domain'),
+ $secret_key=hiera('profile::grafana::secret_key'),
+ $admin_password=hiera('profile::grafana::admin_password'),
+
$ldap_editor_description=hiera('profile::grafana::ldap_editor_description'),
+ $ldap_editor_groups=hiera('profile::grafana::ldap_edit_groups'),
) {
include ::apache::mod::authnz_ldap
include ::apache::mod::headers
--
To view, visit https://gerrit.wikimedia.org/r/404309
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic9180f45ec19e81ab1236208a47b7622458fdea0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits