Skip to content

Commit 92f8c7b

Browse files
author
David Swan
committed
Revert "(maint) doc fix"
This reverts commit 4bb0309.
1 parent 4bb0309 commit 92f8c7b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

lib/puppet/type/panos_address.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,9 @@
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-
# ],
2110
attributes: {
2211
name: {
23-
type: 'String',
12+
type: 'Pattern[/^[a-zA-z0-9\-_\s\.]{1,63}$/]',
2413
desc: 'The display-name of the address.',
2514
behaviour: :namevar,
2615
xpath: 'string(@name)',

0 commit comments

Comments
 (0)