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

Backport 48418 #48594

Merged
merged 1 commit into from Jul 20, 2018

Conversation

Projects
None yet
3 participants
@pritambaral
Contributor

pritambaral commented Jul 15, 2018

What does this PR do?

Backports #48418

Fix multi-sls `salt.state` orchestration in masterless systems
When `salt.state` orchestration on masterless systems was introduced (in
8e3abb1), only the single-string in `sls` case was supported:

```yaml
<name>:
  salt.state:
    - sls: '...'
```

The documentation for `salt.state` says multiple sls files can be supplied in a
list:

```yaml
<name>:
  salt.state:
    - sls:
      - ...
      - ...
      - ...
```

But with masterless orchestration, this does not work because the original
patch passes a list containing a joined string of comma-separated sls files
instead of the joined string itself.

This takes care of that case too by passing joined string, since `state.sls`
handles comma-separated joined string just fine.

@rallytime rallytime merged commit ff11763 into saltstack:2018.3 Jul 20, 2018

8 of 16 checks passed

continuous-integration/jenkins/pr-merge This commit cannot be built
Details
default Build finished.
Details
jenkins/PR/salt-pr-linode-cent7-py3 Pull Requests » Salt PR - Linode CentOS 7 - PY3 #6474 — FAILURE
Details
jenkins/PR/salt-pr-linode-ubuntu14-n Pull Requests » Salt PR - Linode Ubuntu14.04 #24402 — FAILURE
Details
jenkins/PR/salt-pr-rs-cent7-n Pull Requests » Salt PR - RS CentOS 7 #20527 — FAILURE
Details
jenkins/pr/py2-centos-7 The py2-centos-7 job has failed
Details
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has failed
Details
jenkins/pr/py3-centos-7 The py3-centos-7 job has failed
Details
WIP ready for review
Details
jenkins/PR/salt-pr-clone Pull Requests » Salt PR - Clone #26690 — SUCCESS
Details
jenkins/PR/salt-pr-docs-n Pull Requests » Salt PR - Docs #18719 — SUCCESS
Details
jenkins/PR/salt-pr-linode-ubuntu16-py3 Pull Requests » Salt PR - Linode Ubuntu16.04 - PY3 #11444 — SUCCESS
Details
jenkins/PR/salt-pr-lint-n Pull Requests » Salt PR - Code Lint #23356 — SUCCESS
Details
jenkins/pr/docs The docs job has passed
Details
jenkins/pr/lint The lint job has passed
Details
jenkins/pr/py3-ubuntu-1604 The py3-ubuntu-1604 job has passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment