diff options
author | Olivier Blin <blino@mageia.org> | 2011-03-15 21:28:00 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-03-15 21:28:00 +0000 |
commit | 64450bb7d97e77fe8a2655e68fc21991f60860ee (patch) | |
tree | 876b68ed98378a52a90f4fb1083d1a9d9fe3062d /modules/draklive | |
parent | 66604afb1cafbe0556d46abb3c01d2ec44c37ab4 (diff) | |
download | puppet-64450bb7d97e77fe8a2655e68fc21991f60860ee.tar puppet-64450bb7d97e77fe8a2655e68fc21991f60860ee.tar.gz puppet-64450bb7d97e77fe8a2655e68fc21991f60860ee.tar.bz2 puppet-64450bb7d97e77fe8a2655e68fc21991f60860ee.tar.xz puppet-64450bb7d97e77fe8a2655e68fc21991f60860ee.zip |
make /var/lib/draklive a symlink to /home/draklive/var-data
Diffstat (limited to 'modules/draklive')
-rw-r--r-- | modules/draklive/manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/draklive/manifests/init.pp b/modules/draklive/manifests/init.pp index ec2097f7..3f4da126 100644 --- a/modules/draklive/manifests/init.pp +++ b/modules/draklive/manifests/init.pp @@ -21,12 +21,17 @@ class draklive { content => template("draklive/sudoers.draklive") } - file { "/var/lib/draklive": + file { "$draklive_home/var-data": ensure => directory, owner => $draklive_login, group => $draklive_login, mode => 755, } + file { "/var/lib/draklive": + ensure => symlink, + target => "$draklive_home/var-data", + } + } } |