2017-08-12 20:48:02 +01:00
|
|
|
class common {
|
2017-10-19 20:49:41 +01:00
|
|
|
user { 'Make me':
|
2017-10-08 18:52:37 +01:00
|
|
|
name => 'jake',
|
2017-08-12 20:48:02 +01:00
|
|
|
allowdupe => false,
|
2017-10-08 18:52:37 +01:00
|
|
|
auth_membership => 'inclusive',
|
|
|
|
comment => 'Jake Howard',
|
|
|
|
home => '/home/jake',
|
|
|
|
uid => '1000',
|
|
|
|
}
|
2017-10-19 20:49:41 +01:00
|
|
|
-> file { 'Create home directory':
|
2017-08-12 20:55:14 +01:00
|
|
|
ensure => directory,
|
2017-10-08 18:52:37 +01:00
|
|
|
path => '/home/jake',
|
|
|
|
owner => 'jake'
|
2017-08-12 20:48:02 +01:00
|
|
|
}
|
|
|
|
}
|