aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-16 16:37:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-16 16:37:11 -0300
commita9080d2cd235653473343e977df758f8cf98e83f (patch)
tree5736592ab52dea7abdb412f64ebc6ebe88e7d61d
parent7112946dd522bc23b2216e3c3c8f4581052c6e1b (diff)
downloadpuppet-ikiwiki-a9080d2cd235653473343e977df758f8cf98e83f.tar.gz
puppet-ikiwiki-a9080d2cd235653473343e977df758f8cf98e83f.tar.bz2
Adding home parameter
-rw-r--r--manifests/instance.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index 55f12cc..d56dfc2 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -13,6 +13,7 @@ define ikiwiki::instance(
$cgi = '1',
$discussion = '1',
$manage_ssh_key = false,
+ $home = '/home/$owner',
) {
case $ensure {
'present': {
@@ -91,6 +92,7 @@ define ikiwiki::instance(
ensure => $ensure,
owner => $owner,
group => $owner,
+ home => $home,
source => "puppet:///modules/site_keys/ikiwiki/${name}_id_rsa",
}
}