aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:39:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:39:40 -0200
commitea24ef0ab5f15019bf12f4757be35f2f21640fa8 (patch)
treea2e8c587daca78feacfdbeb3618381fe99745a9b /manifests
parent2a4d6f13165a9e8777fa424b42d7883525a50bd1 (diff)
downloadpuppet-nodo-ea24ef0ab5f15019bf12f4757be35f2f21640fa8.tar.gz
puppet-nodo-ea24ef0ab5f15019bf12f4757be35f2f21640fa8.tar.bz2
Refactoring to use parametrized classes and hiera
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/websites.pp2
-rw-r--r--manifests/web.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 634e1c2..6fa764b 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -110,7 +110,7 @@ class websites::hosting inherits websites::setup {
$git_daemon = hiera('nodo::web::git_daemon', True)
if $git_daemon != false {
- include gitweb
+ class { 'gitweb': }
}
apache::site { "images":
diff --git a/manifests/web.pp b/manifests/web.pp
index 4329f81..e68e5d6 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -21,7 +21,7 @@ class nodo::web inherits nodo::vserver {
$git_daemon = hiera('nodo::web::git_daemon', True)
if $git_daemon != false {
- include git-daemon
+ class { 'git::daemon': }
}
backupninja::svn { "svn":