We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb0309 commit 92f8c7bCopy full SHA for 92f8c7b
lib/puppet/type/panos_address.rb
@@ -7,20 +7,9 @@
7
EOS
8
base_xpath: 'address',
9
features: ['remote_resource'],
10
- # title_patterns: [
11
- # {
12
- # pattern: %r{\{:name=>"(?<name>.*[^"])", :vsys=>"(?<vsys>.*[^"]")\}},
13
- # # pattern: %r{^(?<vsys>.*[^-])-(?<name>.*)$},
14
- # desc: 'Where the VSYS and the name are provided with a hyphen seperator',
15
- # },
16
17
- # pattern: %r{^(?<name>.*)$},
18
- # desc: 'Where only the Name is provided',
19
20
- # ],
21
attributes: {
22
name: {
23
- type: 'String',
+ type: 'Pattern[/^[a-zA-z0-9\-_\s\.]{1,63}$/]',
24
desc: 'The display-name of the address.',
25
behaviour: :namevar,
26
xpath: 'string(@name)',
0 commit comments