]> WPIA git - infra.git/blobdiff - environments/production/manifests/nginx.pp
add: gitweb service
[infra.git] / environments / production / manifests / nginx.pp
index 021c5d40623b256ec5c288383c9310b8abcd8467..373e2a84c2c84b6bbc2176f701ba254ddb952c5c 100644 (file)
@@ -65,4 +65,13 @@ node front-nginx {
   service {'nginx':
     ensure => 'running'
   }
+  #for gitweb hosting
+  package{'git':
+    ensure=>'installed'
+  }
+  front_vhost{'gitweb':
+    source => 'gitweb/nginx.epp',
+    notify => Service['nginx'],
+    crt => 'gitweb/web'
+  }
 }