Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ryan@ip-10-0-9-9:/www/private/environment$ sudo salt 'prod-lb-1' state.highstate test=True
- prod-lb-1.redshelf.com:
- Passed invalid arguments to state.highstate: expected string or buffer
- Retrieve the state data from the salt master for this minion and execute it
- test
- Notify states to execute in test-only (dry-run) mode.
- Sets the ``test`` variable in the minion ``opts`` for the duration of
- the state run.
- pillar
- Custom Pillar data can be passed with the ``pillar`` kwarg. Values
- passed here will override hard-coded Pillar values.
- queue : ``False``
- Instead of failing immediately when another state run is in progress,
- queue the new state run to begin running once the other has finished.
- This option starts a new thread for each queued state run so use this
- option sparingly.
- localconfig:
- Instead of using running minion opts, load ``localconfig`` and merge that
- with the running minion opts. This functionality is intended for using
- "roots" of salt directories (with their own minion config, pillars,
- file_roots) to run highstate out of.
- mock:
- The mock option allows for the state run to execute without actually
- calling any states. This then returns a mocked return which will show
- the requisite ordering as well as fully validate the state run.
- .. versionadded:: 2015.8.4
- CLI Example:
- .. code-block:: bash
- salt '*' state.highstate
- salt '*' state.highstate whitelist=sls1_to_run,sls2_to_run
- salt '*' state.highstate exclude=sls_to_exclude
- salt '*' state.highstate exclude="[{'id': 'id_to_exclude'}, {'sls': 'sls_to_exclude'}]"
- salt '*' state.highstate pillar="{foo: 'Foo!', bar: 'Bar!'}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement