Dzahn has uploaded a new change for review.

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

Change subject: smokeping - use apache::conf for namevirtualhost
......................................................................

smokeping - use apache::conf for namevirtualhost

use the newer apache::confg to set this up,
instead of a file resource

just like in I8be43bd11b2378

Change-Id: I56df66a03e521c7b5ea576298110a8d8b0cca664
---
M manifests/role/smokeping.pp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/95/147495/1

diff --git a/manifests/role/smokeping.pp b/manifests/role/smokeping.pp
index fe4d2c2..74da103 100644
--- a/manifests/role/smokeping.pp
+++ b/manifests/role/smokeping.pp
@@ -60,9 +60,8 @@
         group   => 'root',
     }
 
-    file { '/etc/apache2/conf.d/namevirtualhost':
+    apache::conf { 'namevirtualhost':
         source => 'puppet:///files/apache/conf.d/namevirtualhost',
-        mode   => '0444',
-        notify => Service['apache2'],
     }
+
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I56df66a03e521c7b5ea576298110a8d8b0cca664
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

Reply via email to