From 83a2ed705660d0f1eef79ed18db118600fe4c7b3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 1 May 2013 18:10:29 -0300 Subject: Make nodo::utils::development::toolchain::arm ensurable --- manifests/utils/development/toolchain/arm.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manifests/utils/development/toolchain/arm.pp b/manifests/utils/development/toolchain/arm.pp index 7a321b5..98ecf6e 100644 --- a/manifests/utils/development/toolchain/arm.pp +++ b/manifests/utils/development/toolchain/arm.pp @@ -1,12 +1,15 @@ -class nodo::utils::development::toolchain::arm { +class nodo::utils::development::toolchain::arm( + $ensure => present, +) { apt::sources_list { 'emdebian.list': content => "deb http://www.emdebian.org/debian ${::lsbdistcodename} main", + ensure => $ensure, } package { [ 'linux-libc-dev-armel-cross', 'libc6-armel-cross', 'libc6-dev-armel-cross', 'binutils-arm-linux-gnueabi', 'gcc-4.4-arm-linux-gnueabi', 'g++-4.4-arm-linux-gnueabi', 'gdb-arm-linux-gnueabi' ]: - ensure => installed, + ensure => $ensure, require => Apt::Sources_list['emdebian.list'], } } -- cgit v1.2.3