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)
|
||||
|
||||
|
||||
# https://help.puppet.com/core/current/Content/PuppetCore/lang_reserved_words.htm
|
||||
_RESERVED_PUPPET_NAMES = {
|
||||
"and",
|
||||
"application",
|
||||
"class",
|
||||
"attr",
|
||||
"case",
|
||||
"component",
|
||||
"consumes",
|
||||
"default",
|
||||
"define",
|
||||
"elsif",
|
||||
"environment",
|
||||
"false",
|
||||
"function",
|
||||
"if",
|
||||
"import",
|
||||
"in",
|
||||
"inherits",
|
||||
"node",
|
||||
"or",
|
||||
"private",
|
||||
"produces",
|
||||
"regexp",
|
||||
"site",
|
||||
"true",
|
||||
"type",
|
||||
"undef",
|
||||
"unit",
|
||||
"unless",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue