summaryrefslogtreecommitdiff
path: root/manifests/openbsd.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-15 12:47:12 -0400
committerMicah Anderson <micah@riseup.net>2013-04-15 12:47:12 -0400
commit0e7099174fdef951c81880b51e23342fcde86374 (patch)
tree28e99fd804674e3ac025a73a061c73f0ce6d7870 /manifests/openbsd.pp
parent3ac4d6249f50627c0827ce3812eb21d5b89ed974 (diff)
parentbf36ba5e988a7bb3f163ed0575020ef714519edc (diff)
Merge remote-tracking branch 'shared/master' into riseup
Conflicts: README
Diffstat (limited to 'manifests/openbsd.pp')
-rw-r--r--manifests/openbsd.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/openbsd.pp b/manifests/openbsd.pp
index 2cf5fd4..1ba58f4 100644
--- a/manifests/openbsd.pp
+++ b/manifests/openbsd.pp
@@ -20,16 +20,16 @@ class apache::openbsd inherits apache::base {
File[web_dir]{
group => daemon,
}
- line{'enable_apache_on_boot':
- file => '/etc/rc.conf.local',
+ file_line{'enable_apache_on_boot':
+ path => '/etc/rc.conf.local',
line => 'httpd flags=""',
}
file{'apache_main_config':
path => "${config_dir}/conf/httpd.conf",
- source => [ "puppet://$server/modules/site-apache/config/OpenBSD/${fqdn}/httpd.conf",
- "puppet://$server/modules/site-apache/config/OpenBSD/${apache_cluster_node}/httpd.conf",
- "puppet://$server/modules/site-apache/config/OpenBSD//httpd.conf",
- "puppet://$server/modules/apache/config/OpenBSD/httpd.conf" ],
+ source => [ "puppet:///modules/site_apache/config/OpenBSD/${::fqdn}/httpd.conf",
+ "puppet:///modules/site_apache/config/OpenBSD/${apache::cluster_node}/httpd.conf",
+ "puppet:///modules/site_apache/config/OpenBSD//httpd.conf",
+ "puppet:///modules/apache/config/OpenBSD/httpd.conf" ],
notify => Service['apache'],
owner => root, group => 0, mode => 0644;
}
@@ -37,7 +37,7 @@ class apache::openbsd inherits apache::base {
path => '/var/www/htdocs/default/www/index.html',
}
file{'/opt/bin/restart_apache.sh':
- source => "puppet://$server/modules/apache/scripts/OpenBSD/bin/restart_apache.sh",
+ source => "puppet:///modules/apache/scripts/OpenBSD/bin/restart_apache.sh",
require => File['/opt/bin'],
owner => root, group => 0, mode => 0700;
}
@@ -51,7 +51,7 @@ class apache::openbsd inherits apache::base {
stop => 'apachectl stop',
}
file{'/opt/bin/apache_logrotate.sh':
- source => "puppet://$server/modules/apache/scripts/OpenBSD/bin/apache_logrotate.sh",
+ source => "puppet:///modules/apache/scripts/OpenBSD/bin/apache_logrotate.sh",
require => File['/opt/bin'],
owner => root, group => 0, mode => 0700;
}