Merge pull request #297 from frconil/sourceslist-comment
adding notice on top of sourceslist files
This commit is contained in:
commit
6697a9c971
2 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,7 @@ describe 'apt::source', :type => :define do
|
|||
end
|
||||
|
||||
let :content do
|
||||
content = "# #{title}"
|
||||
content = "#file generated by puppet\n# #{title}"
|
||||
if param_hash[:architecture]
|
||||
arch = "[arch=#{param_hash[:architecture]}] "
|
||||
end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#file generated by puppet
|
||||
# <%= @name %>
|
||||
deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
|
||||
<%- if @include_src then -%>
|
||||
|
|
Loading…
Reference in a new issue