Closed gwaters closed 8 years ago
This is a good catch, we should however be able to set a default variable in the event the pillar isn't found in the set
option on line 9 I believe.
comments cant take what i want to show you, one moment
How about like that ?
I was thinking something like this:
{% set ntp_conf_src = salt['pillar.get']('ntp:ntp_conf', 'salt://ntp/ntp.conf') %}
which I believe should work. If you're still testing and want to give this a shot that would be awesome.
Seems to work, updated the PR. Thanks for the input @gravyboat
No problem, thanks for testing things out!
Had this error when using the ntp-formula: Comment: The following requisites were not found
Found that the ntp_conf_src was not being set because it was trying to do a pillar check. By default the formula should not require a pillar and should just work. I am just setting src file if a pillar doesn't exist.