diff options
author | mh <mh@immerda.ch> | 2009-05-23 01:13:35 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-05-23 01:13:35 +0200 |
commit | a47b1ea92dffb48647125f25ba6f0d3a95a1afc4 (patch) | |
tree | 3c8b50657a59199a4e22e70016360068ecfd0fe0 /manifests/centos | |
parent | ee128d31ea8e31a957c378e4c2a5b2a51fa647d4 (diff) |
fixing location
Diffstat (limited to 'manifests/centos')
-rw-r--r-- | manifests/centos/gentoo.pp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/manifests/centos/gentoo.pp b/manifests/centos/gentoo.pp deleted file mode 100644 index 262a25c..0000000 --- a/manifests/centos/gentoo.pp +++ /dev/null @@ -1,30 +0,0 @@ -define apache::gentoo::module( - $ensure = present, - $source = '', - $destination = '' -){ - $modules_dir = "$apache::gentoo::config_dir/modules.d/" - $real_destination = $destination ? { - '' => "${modules_dir}/${name}.conf", - default => $destination, - } - $real_source = $source ? { - '' => [ - "puppet://$server/files/apache/modules.d/${fqdn}/${name}.conf", - "puppet://$server/files/apache/modules.d/${apache_cluster_node}/${name}.conf", - "puppet://$server/files/apache/modules.d/${name}.conf", - "puppet://$server/apache/modules.d/${operatingsystem}/${name}.conf", - "puppet://$server/apache/modules.d/${name}.conf" - ], - default => "puppet://$server/$source", - } - file{"modules_${name}.conf": - ensure => $ensure, - path => $real_destination, - source => $real_source, - require => [ File[modules_dir], Package[apache] ], - notify => Service[apache], - owner => root, group => 0, mode => 0644; - } -} - |