Hello

I have a list of successive package, and it occured that some package
are not installed.

exec { 'sudo gem update --system':
        path => ['/usr/bin/'],
        alias => updateGem,
}

package { ' libmemcached-dev':
        ensure => present,
        alias => memDev,
        require => Exec[updateGem],
}

package { ' libmemcached-dbg':
        ensure => present,
        alias => memDbg,
        require => Package[memDev],
}

package { ' libsas2-dev':
        ensure => present,
        alias => sasDev,
        require => Package[memDdg],
}

package { 'libcurl3-dev':
        ensure => present,
        alias => curlDev,
        require => Package[sasDev],
}

package {'libmysqlclient-dev':
        ensure => present,
        alias => libSql,
        require => Package[curlDev],
}

package {'libsqlite3-dev':
        ensure => present,
        alias => libSql3,
        require => Package[libSql],
}

The package libcurl3-dev, libsas2-dev, libmemcached-dbg, libmemcached-
dev are not installed here. So i don't understand why because other
package do.

So i try something desperate :

exec { 'sudo apt-get install libmemcached-dev':
        path => ['/usr/bin'],
        alias => memDev,
        require => Exec[updateGem],
}

Unfortunatly it doesn't work either : err: /Stage[main]//Exec[sudo apt-
get install libmemcached-dev]/returns: change from notrun to 0 failed:
sudo apt-get install libmemcached-dev returned 1 instead of one of [0]
at /mnt/hgfs/puppet/install.pp:10

I would prefer to do it with package, so if someone have an idea.

Thank you !

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to