forked from NimbleStorage/nimble-puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resource_decommission.yaml
87 lines (78 loc) · 1.74 KB
/
resource_decommission.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
example-agent:
- nimblestorage::cleanup
- nimblestorage::chap
- nimblestorage::initiator_group
- nimblestorage::initiator
- nimblestorage::protection_template
- nimblestorage::volume_collection
- nimblestorage::volume
- nimblestorage::acr
- nimblestorage::fs_mount
mount_points:
example-vol:
ensure: absent
target_vol: example-vol
mount_point: /mnt/example-vol
fs: xfs
label: example-vol
access_control:
example-vol:
ensure: absent
volume_name: example-vol
chap_user: "%{alias('chap.username')}"
initiator_group : "%{::hostname}"
apply_to: both
iscsiadm:
config:
ensure: absent
port: 3260
target: 192.168.59.64
user: "%{alias('chap.username')}"
password: "%{alias('chap.password')}"
chap:
ensure: absent
username: chapuser
password: password_25-24
systemIdentifier: example-chap-account
initiator:
ensure: absent
groupname: "%{::hostname}"
label: "%{::hostname}:sw-iscsi"
ip_address: "*"
access_protocol: "iscsi"
description: "This is an example initiator group"
subnets:
- Management
multipath:
config: true
protection_template:
example-prot-tmpl:
ensure: absent
schedule_list:
- name: minutes
period_unit: minutes
period: 5
num_retain: 13
- name: hours
period_unit: hours
period: 1
num_retain: 25
- name: days
period_unit: days
period: 1
num_retain: 31
volume_collection:
example-vol-coll:
ensure: absent
prottmpl_name: example-prot-tmpl
volumes:
example-vol:
ensure: absent
name: example-vol
size: 1000m
description: Example Volume
perfpolicy: default
force: true
online: true
vol_coll: example-vol-coll