aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/development/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/development/toolchain')
-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'],
}
}