diff --git a/modules/rhizo_base/manifests/users.pp b/modules/rhizo_base/manifests/users.pp index 8b80fc8..69e804b 100644 --- a/modules/rhizo_base/manifests/users.pp +++ b/modules/rhizo_base/manifests/users.pp @@ -21,5 +21,13 @@ class rhizo_base::users { password => $rhizo::password_hash, uid => '1000', purge_ssh_keys => true - } } + + file { '/home/rhizomatica/.ssh/config': + content => template('rhizo_base/ssh_user_config.erb'), + owner => 'rhizomatica', + group => 'rhizomatica', + mode => '0600' + } + +} \ No newline at end of file diff --git a/modules/rhizo_base/templates/ssh_user_config.erb b/modules/rhizo_base/templates/ssh_user_config.erb new file mode 100644 index 0000000..2dea16a --- /dev/null +++ b/modules/rhizo_base/templates/ssh_user_config.erb @@ -0,0 +1,8 @@ +Host lc1 +Hostname 172.16.0.11 +User root + +Host lc2 +Hostname 172.16.0.12 +User root +