aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-04 12:37:53 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-04 12:37:53 +0000
commit39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0 (patch)
tree6a7d5beb1a679e1b7016f5c7ca052db2b1394241 /modules/youri-check
parent708605cdaccaa38c38b28af7df5280007f9d9604 (diff)
downloadpuppet-39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0.tar
puppet-39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0.tar.gz
puppet-39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0.tar.bz2
puppet-39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0.tar.xz
puppet-39e8f4a74705d3a4d4f634dee3d57df68fc2f7e0.zip
change youri home directory to /var/lib/youri and ensure directory exists
Diffstat (limited to 'modules/youri-check')
-rw-r--r--modules/youri-check/manifests/init.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp
index 39dfcea7..4eb5c51f 100644
--- a/modules/youri-check/manifests/init.pp
+++ b/modules/youri-check/manifests/init.pp
@@ -4,7 +4,7 @@ class youri-check {
$user = 'youri'
$config = '/etc/youri/cauldron.conf'
$outdir = '/var/www/youri-check'
- $home = '/var/tmp/youri'
+ $home = '/var/lib/youri'
user { $user:
comment => 'Youri Check',
@@ -13,6 +13,13 @@ class youri-check {
home => $home,
}
+ file { $home:
+ ensure => directory,
+ owner => $user,
+ group => $user,
+ mode => 755,
+ }
+
$pgsql_server = "$vhost"
$pgsql_db = 'youri_check'
$pgsql_user = 'youri'