Commit 234c9f7
committed
Remove declaration of physical_volume if device isn't found
This prevents a Puppet parser error when a volume is not attached
to an instance while appearing being mentionned in terraform_data.yaml.
It can happen when for example OpenStack fails to attach a volume
to an instance.1 parent ec74c76 commit 234c9f7
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
75 | 84 | | |
76 | 85 | | |
77 | 86 | | |
| |||
0 commit comments