Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
cookbooks: reprepro: add separate allowed incoming distributions to c…
Browse files Browse the repository at this point in the history
…onfig

reprepro has an allowed incoming syntax that can allow non matching
distributions into a codenamed repo. e.g. stable>etch would allow stable
packges into etch.

Make it possible to allow these.
  • Loading branch information
Brandon Philips authored and jtimberman committed Jan 5, 2012
1 parent 58da335 commit 8c9678a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions reprepro/recipes/default.rb
Expand Up @@ -62,6 +62,7 @@
owner "nobody"
group "nogroup"
variables(
:allow => apt_repo["allow"],
:codenames => apt_repo["codenames"],
:architectures => apt_repo["architectures"],
:incoming => apt_repo["incoming"],
Expand Down
2 changes: 1 addition & 1 deletion reprepro/templates/default/incoming.erb
@@ -1,4 +1,4 @@
Name: default
IncomingDir: <%= @incoming %>
TempDir: /tmp
Allow: <%= @codenames.join(" ") %>
Allow: <%= @codenames.join(" ") %> <%= @allow.join(" ") %>

0 comments on commit 8c9678a

Please sign in to comment.