Matanya has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/195652

Change subject: haproxy: resource attributes quoting
......................................................................

haproxy: resource attributes quoting

bug: T91908
Change-Id: Iaec780c6a7b6997c2b497d38d90161e950cc1e06
---
M modules/haproxy/manifests/init.pp
1 file changed, 8 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/52/195652/1

diff --git a/modules/haproxy/manifests/init.pp 
b/modules/haproxy/manifests/init.pp
index 1f08d44..32dd4d9 100644
--- a/modules/haproxy/manifests/init.pp
+++ b/modules/haproxy/manifests/init.pp
@@ -2,24 +2,24 @@
 
 class haproxy(
     $template  = 'haproxy/haproxy.cfg.erb',
-    ) {
+) {
 
     package { [
         'socat',
         'haproxy',
     ]:
-        ensure => present,
+        ensure => 'present',
     }
 
     file { '/etc/haproxy/conf.d':
-        ensure  => directory,
+        ensure  => 'directory',
         owner   => 'root',
         group   => 'root',
         mode    => '0755',
     }
 
     file { '/etc/default/haproxy':
-        ensure  => present,
+        ensure  => 'present',
         mode    => '0444',
         owner   => 'root',
         group   => 'root',
@@ -27,7 +27,7 @@
     }
 
     file { '/etc/haproxy/haproxy.cfg':
-        ensure  => present,
+        ensure  => 'present',
         mode    => '0444',
         owner   => 'root',
         group   => 'root',
@@ -42,12 +42,12 @@
     }
 
     nrpe::monitor_service { 'haproxy':
-        description   => "haproxy process",
-        nrpe_command  => "/usr/lib/nagios/plugins/check_procs -c 1: -C 
haproxy",
+        description   => 'haproxy process',
+        nrpe_command  => '/usr/lib/nagios/plugins/check_procs -c 1: -C 
haproxy',
     }
 
     nrpe::monitor_service { 'haproxy_alive':
         description   => 'haproxy alive',
-        nrpe_command  => "/usr/lib/nagios/plugins/check_haproxy --check=alive",
+        nrpe_command  => '/usr/lib/nagios/plugins/check_haproxy --check=alive',
     }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/195652
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaec780c6a7b6997c2b497d38d90161e950cc1e06
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to