tubemogul / puppet-aptly

Puppet module to deploy and manage aptly, a Debian repository management tool http://www.aptly.info/
https://forge.puppet.com/TubeMogul/aptly
Other
5 stars 28 forks source link

Use action show instead of list #32

Closed dhoppe closed 7 years ago

dhoppe commented 7 years ago

For example the command aptly publish -raw=true list contains the distribution, not the name. Please rewrite all the cli.rb to use aptly publish show resource[:name] instead or you will get error messages like:

Error: Execution of 'aptly  publish repo dhoppe' returned 1: ERROR: prefix/distribution already used by another published repo: ./jessie [] publishes {main: [dhoppe]}

This happens, because the exists? function does not recognize the already published repository.

aerostitch commented 7 years ago

The publish module is broken. There's been some work started in #19 . I'll take that one back when I have a chance to.

dhoppe commented 7 years ago

I just figured out that the publish command does not provide a show option.