Skip to content

Commit 4bb0309

Browse files
author
David Swan
committed
(maint) doc fix
1 parent 453d062 commit 4bb0309

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

lib/puppet/type/panos_address.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,20 @@
77
EOS
88
base_xpath: 'address',
99
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+
# ],
1021
attributes: {
1122
name: {
12-
type: 'Pattern[/^[a-zA-z0-9\-_\s\.]{1,63}$/]',
23+
type: 'String',
1324
desc: 'The display-name of the address.',
1425
behaviour: :namevar,
1526
xpath: 'string(@name)',

0 commit comments

Comments
 (0)