Skip to content

Commit 3844762

Browse files
committed
(GH-cat-9) syntax:hiera:yaml exclusions added
1 parent 31f886c commit 3844762

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

.puppet-lint.rc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
--relative
2+
--no-parameter_types-check
3+
--no-parameter_documentation-check
4+
--no-topscope_variable-check
5+
--no-top_scope_facts-check
6+
--no-relative_classname_inclusion-check
7+
--no-legacy_facts-check
8+
--no-selector_inside_resource-check
29
--ignore-paths=examples/*.pp,vendor/**/*.pp,bundle/**/*.pp,pkg/**/*.pp,spec/**/*.pp

.sync.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ Rakefile:
3131
- bundle/**/*.pp
3232
- pkg/**/*.pp
3333
- spec/**/*.pp
34+
extra_disabled_lint_checks:
35+
- parameter_types
36+
- parameter_documentation
37+
- topscope_variable
38+
- top_scope_facts
39+
- relative_classname_inclusion
40+
- legacy_facts
41+
- selector_inside_resource
3442
Gemfile:
3543
optional:
3644
":development":

Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ def changelog_future_release
4242
end
4343

4444
PuppetLint.configuration.send('disable_relative')
45+
PuppetLint.configuration.send('disable_parameter_types')
46+
PuppetLint.configuration.send('disable_parameter_documentation')
47+
PuppetLint.configuration.send('disable_topscope_variable')
48+
PuppetLint.configuration.send('disable_top_scope_facts')
49+
PuppetLint.configuration.send('disable_relative_classname_inclusion')
50+
PuppetLint.configuration.send('disable_legacy_facts')
51+
PuppetLint.configuration.send('disable_selector_inside_resource')
4552
PuppetLint.configuration.ignore_paths = ["examples/*.pp", "vendor/**/*.pp", "bundle/**/*.pp", "pkg/**/*.pp", "spec/**/*.pp"]
4653

4754

metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@
9393
}
9494
],
9595
"template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
96-
"template-ref": "heads/main-0-g806810b",
97-
"pdk-version": "2.3.0"
96+
"template-ref": "2.5.0-0-g806810b",
97+
"pdk-version": "2.4.0"
9898
}

0 commit comments

Comments
 (0)