Ask Your Question
0

How to add canonical partner repo using `apt` module?

asked 2018-01-30 19:09:43 -0500

tylerecouture gravatar image

How can I do the equivalent of this:

sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner

using the aptmodule? https://forge.puppet.com/puppetlabs/apt

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-30 22:04:52 -0500

tylerecouture gravatar image

Ok, that was much more simple than I thought it would be...

apt::source { 'canonical-partner-repo':
  location => 'http://archive.canonical.com/ubuntu',
  repos    => 'partner',
}
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-30 19:09:43 -0500

Seen: 124 times

Last updated: Jan 30