-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_pool.pp
51 lines (43 loc) · 1.29 KB
/
example_pool.pp
1
2
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
41
42
43
44
45
46
47
48
unity_system { 'FNM12345678901':
ip => '192.168.1.50',
user => 'admin',
password => 'password',
}
unity_pool { 'puppet_pool':
unity_system => Unity_system['FNM12345678901'],
description => 'created by puppet module',
raid_groups => [{
disk_group => 'dg_15',
raid_type => 1,
stripe_width => 0,
disk_num => 5,
}],
alert_threshold => 80,
is_snap_harvest_enabled => false,
snap_harvest_high_threshold => 24.0,
is_harvest_enabled => true,
pool_type => 2,
ensure => absent,
}
# uncomment the following manifest for a pool expansion
# unity_pool { 'puppet_pool':
# unity_system => Unity_system['FNM12345678901'],
# description => 'created by puppet module',
# raid_groups => [{
# disk_group => 'dg_15',
# raid_type => 1,
# stripe_width => 0,
# disk_num => 5,
# }, {
# disk_group => 'dg_8',
# raid_type => 7,
# stripe_width => 0,
# disk_num => 4,
# }],
# alert_threshold => 80,
# is_snap_harvest_enabled => true,
# snap_harvest_high_threshold => 25.0,
# is_harvest_enabled => true,
# pool_type => 2,
# ensure => present,
# }