From a4af11f7bc37211c690297c7893d99c12f7ef302 Mon Sep 17 00:00:00 2001 From: Peter Drake Date: Fri, 13 Jan 2012 10:40:41 -0500 Subject: [PATCH] Check if python-software-properties is defined before attempting to define it. --- manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 472ed06..0f6bcef 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -31,7 +31,9 @@ class apt( false => true } - package { "python-software-properties": } + if ! defined(Package["python-software-properties"]) { + package { "python-software-properties": } + } file { "sources.list": path => "${apt::params::root}/sources.list", -- 2.45.2