]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit - templates
pin: Fix the template.
authorDaniele Sluijters <github@daenney.net>
Fri, 28 Mar 2014 07:47:19 +0000 (08:47 +0100)
committerDaniele Sluijters <github@daenney.net>
Fri, 28 Mar 2014 07:47:19 +0000 (08:47 +0100)
commit9f59f1b33a4a8fd1a62d0b3f682d8592eefb4659
treea7157f707d3e23bb6d1fd2f9da7dcde8d8a284c7
parent543f0ccefad1554ba3bf0eab5ad2f67785b1fb8e
pin: Fix the template.

In APT preferences files the only allowed comments are lines that start
with `Explanation:`, commented lines that start with a # trigger a
myriad of interesting bugs. This is considered a feature of APT.

Because we're only ever writing a single file at a time with only a #
comment at the top we were getting away with this but it shouldn't be
there in the first place.
spec/defines/pin_spec.rb
templates/pin.pref.erb