Ask Your Question

It is possible to add more than one apt source into a file?

asked 2014-05-19 03:29:43 -0600

Minston gravatar image

updated 2014-05-22 11:45:16 -0600

Puppetlabs module apt has class source which allows to add an apt source to /etc/apt/sources.list.d/. Is there a way to add more than one apt source into a one file instead of every time creating a file for a single apt source?

edit retag flag offensive close merge delete


I think because it works that way you can have more granular power over environment. On the other hand it would be nice to add more than one apt source. If you up to update module then hit me up. I can help.

3h4x gravatar image3h4x ( 2014-06-18 04:19:39 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-17 09:50:07 -0600

ramindk gravatar image

Not at the moment. However if wouldn't be hard to add the functionality yourself. I think you would only need to modify the template to work with hashes and arrays.

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


Asked: 2014-05-19 03:29:43 -0600

Seen: 163 times

Last updated: Jun 17 '14