-
-
Save pacopablo/644bc57d8aea8863a8b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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