Ask Your Question

puppetlabs apt module for ubuntu

asked 2013-10-04 13:29:13 -0600

mandm_zoom gravatar image

has anyone used this module to install packages i.e i want to replicate apt-get install mailutils using this module

can this be done?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-10-04 16:26:29 -0600

lavaman gravatar image

The puppetlabs apt module is for managing the sources.list and gpg keys and such for setting a server up to use particular apt repos. It does not handle the installation of packages, as the package type is responsible for that:

edit flag offensive delete link more

answered 2013-10-04 22:19:28 -0600

spuder gravatar image

The functionality to install packages is already abstracted out by puppet The easiest way would be

package { 'install mailutils':
    ensure => present, 
    name => 'mailutils',

the apt module is mainly for adding repos to your /etc/sources.list.d/ directory

edit flag offensive delete link more

answered 2013-10-04 22:53:30 -0600

mandm_zoom gravatar image

updated 2013-10-09 15:19:47 -0600

Stefan gravatar image

yes i just used

package { "mailutils": 
  ensure => installed,

to get it working

Thanks for your replies

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-10-04 13:29:13 -0600

Seen: 199 times

Last updated: Oct 09 '13