Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Update sensu apt repo. #59

Merged
merged 1 commit into from
Dec 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#
# [*repo_key_source*]
# String
# Default: http://repos.sensuapp.org/apt/pubkey.gpg
# Default: http://repositories.sensuapp.org/apt/pubkey.gpg
# GPG key for the repo we're installing
#
# [*manage_services*]
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$repo = 'main'
$repo_source = undef
$repo_key_id = '8911D8FF37778F24B4E726A218609E3D7580C77F'
$repo_key_source = 'http://repos.sensuapp.org/apt/pubkey.gpg'
$repo_key_source = 'http://repositories.sensuapp.org/apt/pubkey.gpg'
$manage_services = true
$manage_user = true

Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
if $uchiwa::repo_source {
$url = $uchiwa::repo_source
} else {
$url = 'http://repos.sensuapp.org/apt'
$url = 'http://repositories.sensuapp.org/apt'
}

apt::source { 'sensu':
Expand Down
6 changes: 3 additions & 3 deletions spec/classes/uchiwa_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
context 'default' do
it { should contain_apt__source('sensu').with(
:ensure => 'present',
:location => 'http://repos.sensuapp.org/apt',
:location => 'http://repositories.sensuapp.org/apt',
:release => 'sensu',
:repos => 'main',
:include => { 'src' => false, 'deb' => true },
:key => { 'id' => '8911D8FF37778F24B4E726A218609E3D7580C77F', 'source' => 'http://repos.sensuapp.org/apt/pubkey.gpg' },
:key => { 'id' => '8911D8FF37778F24B4E726A218609E3D7580C77F', 'source' => 'http://repositories.sensuapp.org/apt/pubkey.gpg' },
:before => 'Package[uchiwa]'
) }
end
Expand Down Expand Up @@ -93,7 +93,7 @@

it { should_not contain_apt__key('sensu').with(
:key => '7580C77F',
:key_source => 'http://repos.sensuapp.org/apt/pubkey.gpg'
:key_source => 'http://repositories.sensuapp.org/apt/pubkey.gpg'
) }

it { should contain_package('uchiwa').with(
Expand Down