From: Daniel Paulus Date: Mon, 5 May 2014 10:06:39 +0000 (+0200) Subject: Some code cleaning X-Git-Tag: 1.5.0~9^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ee0233066e7dd11e22ce85bbf5afd4257e9adff6;p=puppet-modules%2Fpuppetlabs-apt.git Some code cleaning --- diff --git a/manifests/init.pp b/manifests/init.pp index c778b6f..48b62d1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -86,7 +86,7 @@ class apt( notify => Exec['apt_update'], } - if $purge_preferences == true { + if $purge_preferences { file { 'apt-preferences': ensure => absent, path => "${root}/preferences",