diff --git a/manifests/init.pp b/manifests/init.pp index 677523bcf2..339fe4802f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,7 +4,10 @@ $root = '/etc/apt' $provider = '/usr/bin/apt-get' - package { "python-software-properties": } + # Check if not already defined, before declaring the package + if ! defined(Package["python-software-properties"]) { + package { "python-software-properties": } + } file { "sources.list": name => "${root}/sources.list",