Merge pull request #297 from frconil/sourceslist-comment

adding notice on top of sourceslist files
This commit is contained in:
Ashley Penney 2014-05-22 10:42:15 -07:00
commit 6697a9c971
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -1,3 +1,4 @@
#file generated by puppet
# <%= @name %>
deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %>
<%- if @include_src then -%>