Initial Changes to the manifests, just to get the recipe to run
This commit is contained in:
parent
9fbf48c8c6
commit
4b53a58494
4 changed files with 37 additions and 29 deletions
|
@ -18,25 +18,35 @@ class rhizo_base::apt {
|
|||
class rhizo_base::apt::common {
|
||||
|
||||
class { '::apt':
|
||||
always_apt_update => false,
|
||||
update => {
|
||||
frequency => 'daily',
|
||||
},
|
||||
}
|
||||
|
||||
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,
|
||||
include => {
|
||||
'src' => false,
|
||||
'deb' => true,
|
||||
},
|
||||
require => File['/etc/apt/apt.conf.d/90unsigned'],
|
||||
}
|
||||
|
||||
apt::source { 'rhizo':
|
||||
location => 'http://repo.rhizomatica.org/ubuntu/',
|
||||
release => 'precise',
|
||||
repos => 'main',
|
||||
include_src => false,
|
||||
include => {
|
||||
'src' => false,
|
||||
'deb' => true,
|
||||
},
|
||||
require => File['/etc/apt/apt.conf.d/90unsigned'],
|
||||
}
|
||||
|
||||
|
@ -48,19 +58,14 @@ class rhizo_base::apt::ubuntu inherits rhizo_base::apt::common {
|
|||
apt::ppa { 'ppa:ondrej/php': }
|
||||
apt::ppa { 'ppa:ondrej/apache2': }
|
||||
|
||||
apt::source { 'icinga':
|
||||
location => 'https://packages.icinga.org/ubuntu',
|
||||
release => 'icinga-precise',
|
||||
repos => 'main',
|
||||
key_source => 'https://packages.icinga.org/icinga.key',
|
||||
include_src => false,
|
||||
}
|
||||
|
||||
apt::source { 'nodesource':
|
||||
location => 'https://deb.nodesource.com/node_0.10',
|
||||
release => 'precise',
|
||||
repos => 'main',
|
||||
key_source => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
||||
key => {
|
||||
'id' => '68576280',
|
||||
'source' => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,29 +75,36 @@ class rhizo_base::apt::debian inherits rhizo_base::apt::common {
|
|||
location => 'http://files.freeswitch.org/repo/deb/freeswitch-1.6/',
|
||||
release => 'jessie',
|
||||
repos => 'main',
|
||||
include_src => false,
|
||||
key_source => 'http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub'
|
||||
key => {
|
||||
'id' => '25E010CF',
|
||||
'source' => 'http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub'
|
||||
}
|
||||
}
|
||||
|
||||
apt::source { 'nodesource':
|
||||
location => 'https://deb.nodesource.com/node_0.10',
|
||||
release => 'jessie',
|
||||
repos => 'main',
|
||||
key_source => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
||||
key => {
|
||||
'id' => '68576280',
|
||||
'source' => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
|
||||
}
|
||||
}
|
||||
|
||||
apt::source { 'irontec':
|
||||
location => 'http://packages.irontec.com/debian',
|
||||
release => 'jessie',
|
||||
repos => 'main',
|
||||
key_source => 'http://packages.irontec.com/public.key'
|
||||
key => {
|
||||
'id' => 'D8C20040',
|
||||
'source' => 'http://packages.irontec.com/public.key'
|
||||
}
|
||||
}
|
||||
|
||||
apt::source { 'rhizo-jessie':
|
||||
location => 'http://repo.rhizomatica.org/debian/',
|
||||
release => 'jessie',
|
||||
repos => 'main',
|
||||
include_src => false,
|
||||
require => File['/etc/apt/apt.conf.d/90unsigned'],
|
||||
}
|
||||
|
||||
|
@ -100,7 +112,9 @@ class rhizo_base::apt::debian inherits rhizo_base::apt::common {
|
|||
location => 'http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/',
|
||||
release => './',
|
||||
repos => '',
|
||||
include_src => false,
|
||||
key_source => 'http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/Release.key'
|
||||
key => {
|
||||
'id' => '17280DDF',
|
||||
'source' => 'http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/Release.key'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ class rhizo_base {
|
|||
|
||||
$mail_admins = hiera('rhizo::mail_admins')
|
||||
$smsc_password = hiera('rhizo::smsc_password')
|
||||
$kannel_admin_password = hiera('rhizo::kannel_admin_password')
|
||||
$password_hash = hiera('rhizo::password_hash')
|
||||
|
||||
# Configuration settings
|
||||
|
@ -85,11 +84,6 @@ class rhizo_base {
|
|||
$rai_admin_user = hiera('rhizo::rai_admin_user')
|
||||
$rai_admin_pwd = hiera('rhizo::rai_admin_pwd')
|
||||
|
||||
$kannel_server = hiera('rhizo::kannel_server')
|
||||
$kannel_port = hiera('rhizo::kannel_port')
|
||||
$kannel_username = hiera('rhizo::kannel_username')
|
||||
$kannel_sendsms_password = hiera('rhizo::kannel_sendsms_password')
|
||||
|
||||
# VOIP provider
|
||||
$voip_provider_name = hiera('rhizo::voip_provider_name')
|
||||
$voip_username = hiera('rhizo::voip_username')
|
||||
|
@ -149,7 +143,6 @@ class rhizo_base {
|
|||
$link5_geo_lon = hiera('rhizo::link5_geo_lon', false)
|
||||
|
||||
include ntp
|
||||
include kannel
|
||||
include sshkeys
|
||||
include rhizo_base::fixes
|
||||
include rhizo_base::apt
|
||||
|
@ -161,6 +154,7 @@ class rhizo_base {
|
|||
include rhizo_base::lcr
|
||||
include rhizo_base::sudo
|
||||
include rhizo_base::users
|
||||
|
||||
if $operatingsystem != 'Debian' {
|
||||
include rhizo_base::icinga
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class rhizo_base::postgresql::debian inherits rhizo_base::postgresql::common {
|
|||
|
||||
class { 'postgresql::globals':
|
||||
manage_package_repo => true,
|
||||
version => '9.4',
|
||||
version => '9.6',
|
||||
}->
|
||||
class { 'postgresql::server':
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue