-
Notifications
You must be signed in to change notification settings - Fork 67
Repository::apt::Maintain - manage /etc/apt/sources.list #416
Comments
Hi @keyurkapasi Could you post an example of the desired end result, whether it's one file or multiple |
We have our own repository as mentioned below which I need in the file /etc/apt/sources.list file. deb http://url_of_repo/debian-security squeeze/updates main contrib non-free Could you please help me configured the same. |
Thanks! Everyone is on vacation this week and next but we'll try to give you a solution as soon as we're back. |
Hi, Any luck on the same ? |
Sorry, we're all ridiculously busy working on the CFEngine 3.6.0 release. If you want to maintain the main sources.list, here's an example to cover the first 4 lines of your list: [
{
"Repository::apt::Maintain":
{
url: "http://url_of_repo/debian-security",
distribution: "squeeze/updates",
components: [ "main", "contrib", "non-free" ],
types: ["deb", "deb-src"],
},
},
{
"Repository::apt::Maintain":
{
url: "http://url_of_repo/debian",
distribution: "squeeze-updates",
components: [ "main", "contrib", "non-free" ],
types: ["deb", "deb-src"],
},
},
] Add In a future version we'll try to support |
Thanks for your response !! Well we have few more repositories (4-5) hence the code would be bigger using each. Wanted some solution which can help me to generate only one file having all repositories in /etc/apt/sources.list instead of using sources.list.d/files... Check if you could find something like that whenever your convenience... :) |
I believe this could be done result with tags and variables matching hotness in 3.6. I want to do it, but bandwidth. |
Any luck on the solution ? |
Moved enterprise overview include doc.
how to add 4 to 9 repository urls in one custom github repository with custom name? |
Using the sketch for sources.list file, how we can provide params for multiple lines as it doesn't work even if we give separate params configuration for all the repository entry. We have to use sources.list.d/file1... file2..file3... for each repository urls.
I am newbie for sketches but have worked in cfengine 3.4.1.
Could you please help me to us /etc/apt/sources.list having multiple repositories in the same file using Repository::apt::Maintain sketches. ?
The text was updated successfully, but these errors were encountered: