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