Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
28
modules/rhizo_base/manifests/apt.pp
Normal file
28
modules/rhizo_base/manifests/apt.pp
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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'],
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue