napalm-salt
napalm-salt copied to clipboard
Issue using devices.sls from web site guide.
{%- for device in pillar.devices %} Startup the Proxy for {{ device }}: service.running: - name: salt-proxy@{{ device }} {%- endfor %}
does not work when using a proxy minion running centos 6. How would you recommend starting all minions that are either on windows or centos 6?
Do you get any error messages ?
I think the Jinja syntax is fine , but without any error messages it's hard to troubleshoot your problem.
remoreminion:
ID: Startup the Proxy for cisco
Function: service.running
Name: salt-proxy@cisco
Result: False
Comment: The named service salt-proxy@cisco is not available
Started: 10:06:03.522028
Duration: 15.932 ms
Changes:
Summary for remoteminion
Succeeded: 0 Failed: 1
Total states run: 1 Total run time: 15.932 ms
Can you run the command with -l debug ?