Skip to content

Instantly share code, notes, and snippets.

@douglasmiller
Last active January 13, 2017 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglasmiller/f6f05df0941934e4d0b1fd09a27bdba4 to your computer and use it in GitHub Desktop.
Save douglasmiller/f6f05df0941934e4d0b1fd09a27bdba4 to your computer and use it in GitHub Desktop.
root:~# salt-call --version
salt-call 2016.3.4 (Boron)
root:~# salt-call state.sls packages.baser
local:
----------
ID: required-packages
Function: pkg.installed
Result: True
Comment: All specified packages are already installed
Started: 12:52:30.820182
Duration: 321.389 ms
Changes:
----------
ID: boto
Function: pip.installed
Name: boto >= 2.6
Result: False
Comment: The following requisites were not found:
require:
pkg: python-pip
Changes:
Summary for local
------------
Succeeded: 1
Failed: 1
------------
Total states run: 2
Total run time: 321.389 ms
required-packages:
pkg.installed:
- pkgs:
- curl
- python-pip
boto:
pip.installed:
- order: last
- name: boto >= 2.6
- require:
- pkg: python-pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment