diff --git a/manifests/agent/install.pp b/manifests/agent/install.pp index acacf26..b28cd1c 100644 --- a/manifests/agent/install.pp +++ b/manifests/agent/install.pp @@ -1,6 +1,4 @@ # Installs the agent class blackfire::agent::install inherits blackfire::agent { - package { 'blackfire-agent': - ensure => $::blackfire::agent::params['version'], - } + ensure_packages('blackfire-agent', {ensure => $::blackfire::agent::params['version']}) } diff --git a/manifests/php/install.pp b/manifests/php/install.pp index 8b7a236..facb552 100644 --- a/manifests/php/install.pp +++ b/manifests/php/install.pp @@ -1,6 +1,4 @@ # Installs the PHP extension class blackfire::php::install inherits blackfire::php { - package { 'blackfire-php': - ensure => $::blackfire::php::params['version'], - } + ensure_packages('blackfire-php', {ensure => $::blackfire::php::params['version']}) }