Ask Your Question
2

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

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

Minston gravatar image

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

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

Comments

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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 158 times

Last updated: Jun 17 '14