- path => "${apt::params::root}/preferences.d/${name}",
- ensure => file,
- owner => root,
- group => root,
- mode => 644,
- content => "# ${name}\nPackage: ${packages}\nPin: release a=${name}\nPin-Priority: ${priority}",
+ ensure => $ensure,
+ path => "${preferences_d}/${name}",
+ owner => root,
+ group => root,
+ mode => '0644',
+ content => "# ${name}\nPackage: ${packages}\nPin: release a=${release}\nPin-Priority: ${priority}",