On 08/09/2013 11:05 AM, Vincent Reydet wrote:
Hi,

I used to install the "ia32-libs" package for debian Squeeze.

Things change with debian Wheezy and now this package doesn't exist anymore.
Here is the new procedure:

|dpkg --add-architecture i386 # enable multi-arch
apt-get update
apt-get install libc6:i386 # install base 32bit libraries|


How can I do the "|dpkg --add-architecture i386" properly with puppet ?

  if($::lsbdistcodename == 'wheezy')
  {
    exec {
      'add-i386':
        command => '/usr/bin/dpkg --add-architecture i386',
unless => '/usr/bin/dpkg --print-foreign-architectures | /bin/grep i386'
    }
  }


--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to