Skip to content

Instantly share code, notes, and snippets.

@ndobbs
Last active June 17, 2016 22:24
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 ndobbs/a92809037b91df2396db3a6f1f262de3 to your computer and use it in GitHub Desktop.
Save ndobbs/a92809037b91df2396db3a6f1f262de3 to your computer and use it in GitHub Desktop.
salt pkgrepo.managed
FILE: => rsyslog/init.sls:
# install rsyslog PPA repo:
pkgrepo.managed:
- humanname: rsyslog ppa
- ppa: adiscon/v8-stable
- refresh_db: True
pkg.installed:
- name: rsyslog
- refresh: True
FAILS:
----------
ID: install rsyslog PPA repo
Function: pkgrepo.managed
Result: False
Comment: Failed to configure repo 'install rsyslog PPA repo': Unable to add PPA 'adiscon/v8-stable'. '['apt-add-repository', '-y', 'ppa:adiscon/v8-stable']' exited with status 1: ''
Started: 22:01:37.518964
Duration: 1369.465 ms
Changes:
If run from command line:
# apt-add-repository -y ppa:adiscon/v8-stable
gpg: keyring `/tmp/tmpswf56esy/secring.gpg' created
gpg: keyring `/tmp/tmpswf56esy/pubring.gpg' created
gpg: requesting key 5234BF2B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpswf56esy/trustdb.gpg: trustdb created
gpg: key 5234BF2B: public key "Launchpad PPA for Adiscon" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment