Check if python-software-properties is defined before attempting to define it.

This commit is contained in:
Peter Drake 2012-01-13 10:40:41 -05:00 committed by Matthaus Litteken
parent 8171d35470
commit a4af11f7bc

View file

@ -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",