Closed samos123 closed 9 years ago
Oh dear .... if
as variable name is really quite suboptimal and I see no reason why we wouldn't want to remove that line as it is no longer used.
Ok pull request incoming, i thought it was maybe some jinja magic I didn't understood haha.
@samos123 can this issue be closed? because of merge #8
The following line seems no longer being used?
{%- set if = grains['maintain_hostsfile_interface'] %}
If it's still in use we should update readme, if it's not in use anymore maybe we can remove it. also setting a variable name to be if is really confusing as if can also be an if statement.
Link to code: https://github.com/saltstack-formulas/hostsfile-formula/blob/master/hostsfile/init.sls#L15