3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# File 'manifests/profile/director/profile.pp', line 3
class bareos::profile::director::profile {
bareos::director::profile {'operator':
description => 'Profile allowing normal Bareos operations.',
command_acl => [
'!.bvfs_clear_cache, !.exit, !.sql',
'!configure, !create, !delete, !purge, !sqlquery, !umount, !unmount',
'*all*',
],
catalog_acl => '*all*',
client_acl => '*all*',
file_set_acl => '*all*',
job_acl => '*all*',
plugin_options_acl => '*all*',
pool_acl => '*all*',
schedule_acl => '*all*',
storage_acl => '*all*',
where_acl => '*all*',
}
# this may be changed, so use sperate profile for webui
::bareos::director::profile {'webui-admin':
description => 'bareos-webui webui-admin profile resource.',
command_acl => [
'!.bvfs_clear_cache, !.exit, !.sql',
'!configure, !create, !delete, !purge, !sqlquery, !umount, !unmount',
'*all*',
],
catalog_acl => '*all*',
client_acl => '*all*',
file_set_acl => '*all*',
job_acl => '*all*',
plugin_options_acl => '*all*',
pool_acl => '*all*',
schedule_acl => '*all*',
storage_acl => '*all*',
where_acl => '*all*',
}
}
|