Commit b7a15fc
committed
Allow non-word characters in vs_bridge external_ids
Currently, the type enforces a regex for vs_bridge
external id values that is way to strict. Essentially
that entries are \w*=\w*.
Bridge external ids commonly include non-word characters
, like '-' (ie: br-ex).
This patch updates the parameter checking to allow
any non-whitespace characters.
Change-Id: I26d47b9744e6e294b0b1bc09cd6268f5587f8bd81 parent 4fce711 commit b7a15fc
File tree
2 files changed
+12
-1
lines changed- lib/puppet/type
- spec/unit/puppet/lib/type
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments