From ea24ef0ab5f15019bf12f4757be35f2f21640fa8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 10:39:40 -0200 Subject: Refactoring to use parametrized classes and hiera --- manifests/subsystems/websites.pp | 2 +- manifests/web.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') 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": -- cgit v1.2.3