class nodo::utils::development::toolchain::arm( $ensure = present ) { apt::sources_list { 'emdebian.list': content => "deb http://www.emdebian.org/debian ${::lsbdistcodename} main", ensure => $ensure, } # Provide some emdebian dependencies #apt::sources_list { 'squeeze.list': # content => "deb http://http.debian.net/debian/ squeeze main contrib non-free\ndeb http://security.debian.org/ squeeze/updates main contrib non-free", # ensure => $::lsbdistcodename ? { # 'squeeze' => absent, # default => $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 => $ensure, require => Apt::Sources_list['emdebian.list'], } }