end
let :content do
- content = "#file generated by puppet\n# #{title}"
+ content = "#file generated by puppet\n"
+ if param_hash[:comment]
+ content << "# #{comment}"
+ else
+ content << "# #{title}"
+ end
if param_hash[:architecture]
arch = "[arch=#{param_hash[:architecture]}] "
end