Skip to content

bennylope/puppet-apt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

apt puppet module

Manages apt configuration under Debian or Ubuntu.

Classes

  • apt
  • apt::clean-cache

apt::clean-cache

Variables

$apt_clean_minutes: cronjob minutes - default uses ip_to_cron from module "common" $apt_clean_hours: cronjob hours - default to 0 $apt_clean_mday: cronjob monthday - default uses ip_to_cron from module "common"

Require:

Definitions

  • apt::conf
  • apt::key
  • apt::sources_list

apt::conf

apt::conf{"99unattended-upgrade":
  ensure  => present,
  content => "APT::Periodic::Unattended-Upgrade \"1\";\n",
}

apt::key

apt::key {"A37E4CF5":
  source  => "http://dev.camptocamp.com/packages/debian/pub.key",
}

apt::sources_list

apt::sources_list {"camptocamp":
  ensure  => present,
  content => "deb http://dev.camptocamp.com/packages/ etch puppet",
}

apt:ppa

Add a Launchpad PPA, referencing the user name as the resource name, supplying the key reference and the package archive name.

apt::ppa {"brianmercer":
  key => "8D0DC64F",
  ppa => "php",
}

About

apt configuration puppet module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Puppet 100.0%