Skip to content

Instantly share code, notes, and snippets.

@iggy
Created February 13, 2015 00:14
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 iggy/6c7beea849c23936a451 to your computer and use it in GitHub Desktop.
Save iggy/6c7beea849c23936a451 to your computer and use it in GitHub Desktop.
sudo salt '*repo*' state.sls aptly.publish_repos
dev-repo01.c.oncenter-oasis-dns-project.oncenter.com.internal:
----------
ID: import_gpg_pub_key
Function: cmd.run
Name: gpg --no-tty --import /var/lib/aptly/repo/public/public.gpg
Result: False
Comment: Command "gpg --no-tty --import /var/lib/aptly/repo/public/public.gpg" run
Started: 23:46:37.022431
Duration: 102.384 ms
Changes:
----------
pid:
18603
retcode:
2
stderr:
gpg: fatal: can't create directory `/var/lib/aptly
/.gnupg': No such file or directory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
stdout:
----------
ID: import_gpg_priv_key
Function: cmd.run
Name: gpg --no-tty --allow-secret-key-import --import /var/lib/aptly/.gnupg/secret.gpg
Result: False
Comment: Command "gpg --no-tty --allow-secret-key-import --import /var/lib/aptly/.gnupg/secret.gpg" run
Started: 23:46:37.125179
Duration: 45.903 ms
Changes:
----------
pid:
18618
retcode:
2
stderr:
gpg: fatal: can't create directory `/var/lib/aptly
/.gnupg': No such file or directory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
stdout:
----------
ID: publish_OnCenter01_repo
Function: cmd.run
Name: aptly -batch=true publish repo -gpg-key='4833A1A6' -passphrase='0c$123456' OnCenter01
Result: False
Comment: Command "aptly -batch=true publish repo -gpg-key='4833A1A6' -passphrase='0c$123456' OnCenter01" run
Started: 23:46:37.171938
Duration: 52.382 ms
Changes:
----------
pid:
18636
retcode:
1
stderr:
stdout:
Config file not found, creating default config at /var/lib/aptly
/.aptly.conf
ERROR: can't open database: mkdir /var/lib/aptly
: permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment