2017-08-12 20:48:02 +01:00
|
|
|
class common {
|
2017-10-08 18:52:37 +01:00
|
|
|
user { 'make me':
|
|
|
|
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',
|
|
|
|
}
|
|
|
|
-> file { 'create home':
|
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
|
|
|
}
|
|
|
|
}
|