2 user = node[:settings][:user]
3 debian_mirror = node[:settings][:debian_mirror]
5 execute 'set_debian_mirror' do
6 command "sed -i 's,http://ftp.uk.debian.org/debian/,#{debian_mirror},g' /etc/apt/sources.list"
9 execute "apt-get-update" do
10 command "apt-get update"
13 %w{ant ant-contrib autoconf autoconf2.13 automake1.11 autopoint bison bzr cmake curl expect faketime flex gettext git-core git-svn gperf graphviz imagemagick inkscape javacc libarchive-zip-perl librsvg2-bin libsaxonb-java libssl-dev libssl1.0.0 libtool make maven mercurial nasm openjdk-7-jdk optipng pandoc perlmagick pkg-config python python-gnupg python-magic python-setuptools python3-gnupg quilt realpath scons subversion swig texinfo transfig unzip vorbis-tools xsltproc yasm zip}.each do |pkg|
19 if node['kernel']['machine'] == "x86_64"
20 %w{libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386}.each do |pkg|
27 easy_install_package "compare-locales" do
32 execute "add-bsenv" do
34 command "echo \". ./.bsenv \" >> /home/#{user}/.bashrc"
35 not_if "grep bsenv /home/#{user}/.bashrc"