diff --git a/manifests/system.pp b/manifests/system.pp index 9a65da86..2178a0ad 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -9,12 +9,14 @@ } # curl needs to be installed - case $::kernel { - Linux: { - ensure_packages(['curl']) - Package['curl'] -> Exec['system-rvm'] + if ! defined(Package['curl']) { + case $::kernel { + Linux: { + ensure_packages(['curl']) + Package['curl'] -> Exec['system-rvm'] + } + default: {} } - default: {} } exec { 'system-rvm':