diff options
Diffstat (limited to 'prototypes/puppet-infracloud')
-rw-r--r-- | prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp | 8 |
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')) } |