Add user osmocom

This commit is contained in:
Keith Whyte 2023-03-15 09:40:30 +01:00
parent b8c721dd78
commit 868d576631

View file

@ -41,6 +41,18 @@ class rhizo_base::users {
purge_ssh_keys => true, purge_ssh_keys => true,
} }
user { 'osmocom':
ensure => present,
uid => '2060',
gid => 'users',
groups => 'operator',
membership => inclusive,
home => '/home/osmocom',
shell => '/bin/bash',
managehome => true,
purge_ssh_keys => true,
}
file { '/home/rhizomatica/.ssh/config': file { '/home/rhizomatica/.ssh/config':
content => template('rhizo_base/ssh_user_config.erb'), content => template('rhizo_base/ssh_user_config.erb'),
owner => 'rhizomatica', owner => 'rhizomatica',