summaryrefslogtreecommitdiffstats
path: root/prototypes
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp b/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp
index 4113c50e6..c4bff0962 100644
--- a/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp
+++ b/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp
@@ -216,6 +216,14 @@ class opnfv::server (
require => Class['pip'],
}
+ # manage root ssh
+ if ! defined(File['/root/.ssh']) {
+ file { '/root/.ssh':
+ ensure => directory,
+ mode => '0700',
+ }
+ }
+
# add hosts entries
create_resources('host', hiera_hash('hosts'))
}