From 5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 3 Feb 2017 08:44:59 -0200 Subject: Adds ensure param to utils classes --- manifests/utils/multimedia/minimal.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/multimedia/minimal.pp') diff --git a/manifests/utils/multimedia/minimal.pp b/manifests/utils/multimedia/minimal.pp index 3459daa..fe220f4 100644 --- a/manifests/utils/multimedia/minimal.pp +++ b/manifests/utils/multimedia/minimal.pp @@ -1,10 +1,12 @@ -class nodo::utils::multimedia::minimal { +class nodo::utils::multimedia::minimal ( + $ensure = 'installed', +) { package { [ 'alsa-utils', 'mpg123', 'mediainfo', 'mplayer2', ]: - ensure => installed, + ensure => $ensure, } } -- cgit v1.2.3