diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-02-03 08:44:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-02-03 08:44:59 -0200 |
commit | 5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d (patch) | |
tree | ee327ce71af274376f664bd061eeef50b136e2f5 /manifests/utils/microcode | |
parent | 81316081a32a13a2b948033e78c2987df0bcc014 (diff) | |
download | puppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.gz puppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.bz2 |
Adds ensure param to utils classes
Diffstat (limited to 'manifests/utils/microcode')
-rw-r--r-- | manifests/utils/microcode/intel.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/utils/microcode/intel.pp b/manifests/utils/microcode/intel.pp index 7e9c565..10a32ef 100644 --- a/manifests/utils/microcode/intel.pp +++ b/manifests/utils/microcode/intel.pp @@ -1,10 +1,12 @@ -class nodo::utils::microcode::intel { +class nodo::utils::microcode::intel ( + $ensure = 'installed', +) { # Microcode # See https://wiki.archlinux.org/index.php/Microcode # http://en.gentoo-wiki.com/wiki/Intel_Microcode package { [ 'intel-microcode', ]: - ensure => present, + ensure => $ensure, } } |