From a9080d2cd235653473343e977df758f8cf98e83f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 16 Mar 2014 16:37:11 -0300 Subject: Adding home parameter --- manifests/instance.pp | 2 ++ 1 file changed, 2 insertions(+) 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", } } -- cgit v1.2.3