aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/instance.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index 717cf90..c48634d 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -94,7 +94,10 @@ define ikiwiki::instance(
owner => $owner,
group => $group,
home => $home,
- source => "puppet:///ssh/ikiwiki/${name}_id_rsa",
+ source => $ensure ? {
+ 'present' => "puppet:///ssh/ikiwiki/${name}_id_rsa",
+ default => undef,
+ }
}
}
}