1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class mirror::base { $locksdir = '/home/mirror/locks' file { $locksdir: ensure => directory, owner => 'mirror', group => 'mirror', } group { 'mirror': } user { 'mirror': comment => 'System user use to run mirror scripts', gid => 'mirror', } }