saltstack-formulas / bind-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
29 stars 117 forks source link

pillar.example extra semicolon #52

Closed mavhc closed 8 years ago

mavhc commented 8 years ago

allow-recursion: '{ any; };' # Never include this on a public resolver

https://github.com/saltstack-formulas/bind-formula/blob/master/pillar.example#L14

The semicolon after the close brace seems to cause an error when bind starts as the file is compiled to have two semicolons in a row

gravyboat commented 8 years ago

Does the rendered file look like '{ any; };';?

ukretschmer commented 8 years ago

Semicolons are automatically set after option statement in named.conf.options. @mavhc , just remove the last semicolon in your pillar data and it will generate the correct config file.

The pillar.example should be corrected to:

allow-recursion: '{ any; }' # Never include this on a public resolver