Add user osmocom
This commit is contained in:
parent
b8c721dd78
commit
868d576631
1 changed files with 12 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue