Dzahn has uploaded a new change for review.

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

Change subject: limn - use apache::site
......................................................................

limn - use apache::site

use the newer apache::site method
rather than a file resource to setup
the Apache site

Change-Id: I2dc72c69510235c012d1996a16cfc4b10669d89c
---
M modules/limn/manifests/instance/proxy.pp
1 file changed, 1 insertion(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/61/153961/1

diff --git a/modules/limn/manifests/instance/proxy.pp 
b/modules/limn/manifests/instance/proxy.pp
index 5332846..eae6001 100644
--- a/modules/limn/manifests/instance/proxy.pp
+++ b/modules/limn/manifests/instance/proxy.pp
@@ -25,13 +25,7 @@
 {
   # Configure the Apache Limn instance proxy VirtualHost.
   $priority = 10
-  file { "${priority}-limn-${name}.conf":
-    path    => "/etc/apache2/sites-enabled/${priority}-limn-${name}.conf",
+  apache::site { ${priority}-limn-${name}.conf":
     content => template('limn/vhost-limn-proxy.conf.erb'),
-    owner   => 'root',
-    group   => 'root',
-    mode    => '0444',
-    require => Package['apache2'],
-    notify  => Service['apache2'],
   }
 }

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

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

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

Reply via email to