aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/instance.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index c6d0e63..c7648da 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -39,14 +39,6 @@ define ikiwiki::instance(
refreshonly => true,
}
- exec { "ssh-keygen-ikiwiki-${owner}":
- command => "ssh-keygen -t rsa -P '' -f ${home}/.ssh/id_rsa",
- creates => "${home}/.ssh/id_rsa",
- user => $owner,
- group => $group,
- require => File["${home}/.ssh"],
- }
-
if !defined(File["${ikiwiki::sites_folder}/${name}"]) {
file { "${ikiwiki::sites_folder}/${name}":
ensure => directory,
@@ -92,6 +84,14 @@ define ikiwiki::instance(
group => root,
}
}
+
+ exec { "ssh-keygen-ikiwiki-${owner}":
+ command => "ssh-keygen -t rsa -P '' -f ${home}/.ssh/id_rsa",
+ creates => "${home}/.ssh/id_rsa",
+ user => $owner,
+ group => $group,
+ require => File["${home}/.ssh"],
+ }
}
# See http://rtime.felk.cvut.cz/~sojka/blog/using-ikiwiki-with-gitolite/