puppet/modules/rhizo_base/manifests/apt.pp
Ciaby 1c7dffc32a Initial refactoring
Renamed rhizomatica_base_system to rhizo_base
Split up the init.pp in different subclasses
More work to follow
2015-05-18 14:01:31 -05:00

28 lines
No EOL
677 B
Puppet

# Class: rhizo_base::apt
#
# This module manages the apt repositories
#
# Parameters: none
#
# Actions:
#
# Requires: see Modulefile
#
# Sample Usage:
#
class rhizo_base::apt {
class { 'apt': }
apt::ppa { 'ppa:keithw/mosh': }
apt::ppa { 'ppa:ondrej/php5': }
file { '/etc/apt/apt.conf.d/90unsigned':
ensure => present,
content => 'APT::Get::AllowUnauthenticated "true";',
}
apt::source { 'rhizomatica':
location => 'http://dev.rhizomatica.org/ubuntu/',
release => 'precise',
repos => 'main',
include_src => false,
require => File['/etc/apt/apt.conf.d/90unsigned'],
}
}