From e9837574617d26c072f3d242a8b546a4b5e3fb96 Mon Sep 17 00:00:00 2001 From: Dario Vieli Date: Tue, 11 Jul 2017 14:17:03 +0200 Subject: [PATCH 1/2] Update repo URI for YUM --- manifests/repo/yum.pp | 4 ++-- spec/classes/uchiwa_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/repo/yum.pp b/manifests/repo/yum.pp index 8736d3f..e235568 100755 --- a/manifests/repo/yum.pp +++ b/manifests/repo/yum.pp @@ -13,8 +13,8 @@ $url = $uchiwa::repo_source } else { $url = $uchiwa::repo ? { - 'unstable' => "http://repos.sensuapp.org/yum-unstable/el/${::operatingsystemmajrelease}/\$basearch/", - default => "http://repos.sensuapp.org/yum/el/${::operatingsystemmajrelease}/\$basearch/" + 'unstable' => "https://repositories.sensuapp.org/yum-unstable/${::operatingsystemmajrelease}/\$basearch/", + default => "https://repositories.sensuapp.org/yum/${::operatingsystemmajrelease}/\$basearch/" } } diff --git a/spec/classes/uchiwa_spec.rb b/spec/classes/uchiwa_spec.rb index 129fc26..5b98459 100644 --- a/spec/classes/uchiwa_spec.rb +++ b/spec/classes/uchiwa_spec.rb @@ -113,7 +113,7 @@ context 'default' do it { should contain_yumrepo('uchiwa').with( :enabled => 1, - :baseurl => 'http://repos.sensuapp.org/yum/el/6/$basearch/', + :baseurl => 'https://repositories.sensuapp.org/yum/6/$basearch/', :gpgcheck => 0, :before => 'Package[uchiwa]' ) } @@ -121,7 +121,7 @@ context 'unstable repo' do let(:params) { { :repo => 'unstable' } } - it { should contain_yumrepo('uchiwa').with(:baseurl => 'http://repos.sensuapp.org/yum-unstable/el/6/$basearch/' )} + it { should contain_yumrepo('uchiwa').with(:baseurl => 'https://repositories.sensuapp.org/yum-unstable/6/$basearch/' )} end context 'override repo url' do From e71095ba98d74503565c3c90eabeea469b2676eb Mon Sep 17 00:00:00 2001 From: Dario Vieli Date: Tue, 11 Jul 2017 14:17:03 +0200 Subject: [PATCH 2/2] Update repo URI for YUM --- manifests/repo/yum.pp | 4 ++-- spec/classes/uchiwa_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/repo/yum.pp b/manifests/repo/yum.pp index 8736d3f..e235568 100755 --- a/manifests/repo/yum.pp +++ b/manifests/repo/yum.pp @@ -13,8 +13,8 @@ $url = $uchiwa::repo_source } else { $url = $uchiwa::repo ? { - 'unstable' => "http://repos.sensuapp.org/yum-unstable/el/${::operatingsystemmajrelease}/\$basearch/", - default => "http://repos.sensuapp.org/yum/el/${::operatingsystemmajrelease}/\$basearch/" + 'unstable' => "https://repositories.sensuapp.org/yum-unstable/${::operatingsystemmajrelease}/\$basearch/", + default => "https://repositories.sensuapp.org/yum/${::operatingsystemmajrelease}/\$basearch/" } } diff --git a/spec/classes/uchiwa_spec.rb b/spec/classes/uchiwa_spec.rb index 129fc26..5b98459 100644 --- a/spec/classes/uchiwa_spec.rb +++ b/spec/classes/uchiwa_spec.rb @@ -113,7 +113,7 @@ context 'default' do it { should contain_yumrepo('uchiwa').with( :enabled => 1, - :baseurl => 'http://repos.sensuapp.org/yum/el/6/$basearch/', + :baseurl => 'https://repositories.sensuapp.org/yum/6/$basearch/', :gpgcheck => 0, :before => 'Package[uchiwa]' ) } @@ -121,7 +121,7 @@ context 'unstable repo' do let(:params) { { :repo => 'unstable' } } - it { should contain_yumrepo('uchiwa').with(:baseurl => 'http://repos.sensuapp.org/yum-unstable/el/6/$basearch/' )} + it { should contain_yumrepo('uchiwa').with(:baseurl => 'https://repositories.sensuapp.org/yum-unstable/6/$basearch/' )} end context 'override repo url' do