napalm-automation / napalm-salt

Modules for event-driven network automation and orchestration using Salt
Apache License 2.0
128 stars 36 forks source link

Issue using devices.sls from web site guide. #65

Open bjames301 opened 4 years ago

bjames301 commented 4 years ago

{%- for device in pillar.devices %} Startup the Proxy for {{ device }}: service.running:

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?

network-shark commented 4 years ago

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.

bjames301 commented 4 years ago

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

network-shark commented 4 years ago

Can you run the command with -l debug ?