saltstack-formulas / nfs-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Apache License 2.0
18 stars 83 forks source link

Rendering SLS 'base:nfs.server' failed: Jinja variable 'dict object' has no attribute 'service_server_dependency' #13

Closed syphernl closed 6 years ago

syphernl commented 8 years ago

Using this on an Ubuntu 14.04 minion (Salt 2015.8.5) results in a critical error:

[INFO    ] Fetching file from saltenv 'base', ** done ** u'nfs/server.sls'
[INFO    ] Fetching file from saltenv 'base', ** done ** u'nfs/map.jinja'
[ERROR   ] Rendering exception occurred: Jinja variable 'dict object' has no attribute 'service_server_dependency'
[CRITICAL] Rendering SLS 'base:nfs.server' failed: Jinja variable 'dict object' has no attribute 'service_server_dependency'
local:
    Data failed to compile:
----------
    Rendering SLS 'base:nfs.server' failed: Jinja variable 'dict object' has no attribute 'service_server_dependency'
wwentland commented 8 years ago

This is being caused by #12 which breaks deployment if service_server_dependency is not set. Try setting that to False in your pillar as a workaround.

syphernl commented 8 years ago

Yeah I figured that out as well :-) With that, it does work (well should but apparently you cannot setup NFS in an LXC container :()

micron commented 8 years ago

I ran into the same issue. Setting service_server_dependency: False works as an workaround.

0xf10e commented 8 years ago

Aw, crap… sorry, folks, I totally missed this issue :( Got to manage my GitHub subscriptions better so I don't miss the relevant bits…

javierbertoli commented 6 years ago

This issue is ~2yr old, and the formula does not even have the parameter service_server_dependency anymore, so I'm closing this issue.