Skip to content

Instantly share code, notes, and snippets.

@nitay
Created August 9, 2015 23:03
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 nitay/0c087a80d5b4f8c2fa55 to your computer and use it in GitHub Desktop.
Save nitay/0c087a80d5b4f8c2fa55 to your computer and use it in GitHub Desktop.
root@m1:~# salt-call state.single pkg.installed python-pip
[INFO ] Loading fresh modules for state activity
[INFO ] Executing command 'npm --version' in directory '/root'
[INFO ] Running state [python-pip] at time 23:03:49.011201
[INFO ] Executing state pkg.installed for python-pip
[INFO ] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
[INFO ] Package python-pip is already installed.
[INFO ] Completed state [python-pip] at time 23:03:49.217815
local:
Name: python-pip - Function: pkg.installed - Result: Clean
Summary
------------
Succeeded: 1
Failed: 0
------------
Total states run: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment