Skip to content

Instantly share code, notes, and snippets.

@pacopablo

pacopablo/output Secret

Created March 2, 2015 18:58
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 pacopablo/644bc57d8aea8863a8b4 to your computer and use it in GitHub Desktop.
Save pacopablo/644bc57d8aea8863a8b4 to your computer and use it in GitHub Desktop.
----------
ID: pgp
Function: pkg.installed
Result: True
Comment: All specified packages are already installed.
Started: 10:54:03.472009
Duration: 5332.363 ms
Changes:
----------
ID: /etc/salt/gpg_pillar_pubkey.gpg
Function: file.installed
Result: False
Comment: State 'file.installed' found in SLS 'gpg' is unavailable
Started:
Duration:
Changes:
----------
ID: gpg_import
Function: cmd.run
Name: gpg --import /etc/salt/gpg_pillar_pubky.gpg
Result: False
Comment: One or more requisite failed: {'gpg./etc/salt/gpg_pillar_pubkey.gpg': "State 'file.installed' found in SLS 'gpg' is unavailable\n"}
Started:
Duration:
Changes:
Summary
------------
Succeeded: 1
Failed: 2
------------
Total states run: 3
pgp:
pkg.installed:
- pkgs:
- gnupg
- python-gnupg
/etc/salt/gpg_pillar_pubkey.gpg:
file.installed:
- source: salt://gpg/gpg_pillar_pubkey.gpg
- user: root
- group: root
- mode: 644
gpg_import:
cmd.run:
- name: gpg --import /etc/salt/gpg_pillar_pubky.gpg
- require:
- pkg: pgp
- file: /etc/salt/gpg_pillar_pubkey.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment