Update the puppet reserved names
This commit is contained in:
parent
33b9d44c55
commit
380a0b8ca2
1 changed files with 21 additions and 1 deletions
|
|
@ -13,15 +13,35 @@ def _load_state(bundle_dir: str) -> Dict[str, Any]:
|
||||||
return json.load(f)
|
return json.load(f)
|
||||||
|
|
||||||
|
|
||||||
|
# https://help.puppet.com/core/current/Content/PuppetCore/lang_reserved_words.htm
|
||||||
_RESERVED_PUPPET_NAMES = {
|
_RESERVED_PUPPET_NAMES = {
|
||||||
|
"and",
|
||||||
"application",
|
"application",
|
||||||
"class",
|
"attr",
|
||||||
|
"case",
|
||||||
|
"component",
|
||||||
|
"consumes",
|
||||||
"default",
|
"default",
|
||||||
"define",
|
"define",
|
||||||
|
"elsif",
|
||||||
|
"environment",
|
||||||
|
"false",
|
||||||
|
"function",
|
||||||
|
"if",
|
||||||
"import",
|
"import",
|
||||||
|
"in",
|
||||||
"inherits",
|
"inherits",
|
||||||
"node",
|
"node",
|
||||||
|
"or",
|
||||||
|
"private",
|
||||||
|
"produces",
|
||||||
|
"regexp",
|
||||||
"site",
|
"site",
|
||||||
|
"true",
|
||||||
|
"type",
|
||||||
|
"undef",
|
||||||
|
"unit",
|
||||||
|
"unless",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue