Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bjames301 opened this issue Dec 16, 2019 · 3 comments
Open

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

bjames301 opened this issue Dec 16, 2019 · 3 comments

Comments

@bjames301
Copy link

{%- 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?

@network-shark
Copy link

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
Copy link
Author

bjames301 commented Dec 17, 2019

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
Copy link

Can you run the command with -l debug ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants