Add 'tic' user
This commit is contained in:
parent
2774694b4c
commit
6de4b3ef23
1 changed files with 16 additions and 0 deletions
|
@ -23,6 +23,22 @@ class rhizo_base::users {
|
||||||
purge_ssh_keys => true
|
purge_ssh_keys => true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
group { 'tic':
|
||||||
|
name => 'tic',
|
||||||
|
ensure => present
|
||||||
|
}
|
||||||
|
|
||||||
|
user { 'tic':
|
||||||
|
ensure => present,
|
||||||
|
uid => '2000',
|
||||||
|
gid => 'users',
|
||||||
|
groups => 'operator',
|
||||||
|
home => '/home/tic',
|
||||||
|
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