summaryrefslogtreecommitdiff
path: root/manifests/vhost/php
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 21:35:37 -0300
committermh <mh@immerda.ch>2012-06-05 21:35:37 -0300
commit65f6bb2025218692949530db6703792cc6865c02 (patch)
treeac44acb252c06d2e7de3e74e0fb56db2dbdd51e5 /manifests/vhost/php
parent076909377eaa3aa41936e3acb7e02a9b5b14d493 (diff)
new style for 2.7
Diffstat (limited to 'manifests/vhost/php')
-rw-r--r--manifests/vhost/php/standard.pp2
-rw-r--r--manifests/vhost/php/webapp.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp
index 3814680..b02e05c 100644
--- a/manifests/vhost/php/standard.pp
+++ b/manifests/vhost/php/standard.pp
@@ -135,7 +135,7 @@ define apache::vhost::php::standard(
$php_safe_mode_exec_dir = $php_settings[safe_mode_exec_dir]
} else {
$php_safe_mode_exec_dir = $path ? {
- 'absent' => $operatingsystem ? {
+ 'absent' => $::operatingsystem ? {
openbsd => "/var/www/htdocs/${name}/bin",
default => "/var/www/vhosts/${name}/bin"
},
diff --git a/manifests/vhost/php/webapp.pp b/manifests/vhost/php/webapp.pp
index 69951de..3711c1a 100644
--- a/manifests/vhost/php/webapp.pp
+++ b/manifests/vhost/php/webapp.pp
@@ -74,7 +74,7 @@ define apache::vhost::php::webapp(
}
if $manage_config {
- if $config_file == 'absent' { fail("No config file defined for ${name} on ${fqdn}, if you'd like to manage the config, you have to add one!") }
+ if $config_file == 'absent' { fail("No config file defined for ${name} on ${::fqdn}, if you'd like to manage the config, you have to add one!") }
::apache::vhost::file::documentrootfile{"configurationfile_${name}":
documentroot => $documentroot,
filename => $config_file,