aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-01 18:10:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-01 18:10:29 -0300
commit83a2ed705660d0f1eef79ed18db118600fe4c7b3 (patch)
treeeaf1fd77d44fc139cbfe7b43155c60f6a9d10536
parent3e5ecf3364831a5483f134f687588d7113f5b287 (diff)
downloadpuppet-nodo-83a2ed705660d0f1eef79ed18db118600fe4c7b3.tar.gz
puppet-nodo-83a2ed705660d0f1eef79ed18db118600fe4c7b3.tar.bz2
Make nodo::utils::development::toolchain::arm ensurable
-rw-r--r--manifests/utils/development/toolchain/arm.pp7
1 files 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'],
}
}