Revision 4324f24d
Added by Ewoud Kohl van Wijngaarden about 4 years ago
manifests/repos/yum.pp | ||
---|---|---|
gpgcheck => '0',
|
||
enabled => '0',
|
||
}
|
||
# Foreman 2.0 dropped the separate rails repository
|
||
yumrepo { "${name}-rails":
|
||
descr => "Rails SCL for Foreman ${repo}",
|
||
baseurl => "https://yum.theforeman.org/rails/foreman-${repo}/${yumcode}/\$basearch",
|
||
gpgcheck => $gpgcheck_enabled,
|
||
enabled => '1',
|
||
gpgkey => "https://yum.theforeman.org/rails/foreman-${repo}/RPM-GPG-KEY-copr",
|
||
ensure => absent,
|
||
}
|
||
}
|
spec/defines/foreman_repos_yum_spec.rb | ||
---|---|---|
.with_gpgcheck('0')
|
||
.with_enabled('0')
|
||
|
||
should contain_yumrepo('foreman-rails')
|
||
.with_descr('Rails SCL for Foreman nightly')
|
||
.with_baseurl('https://yum.theforeman.org/rails/foreman-nightly/el7/$basearch')
|
||
.with_gpgcheck('0')
|
||
.with_enabled('1')
|
||
.with_gpgkey('https://yum.theforeman.org/rails/foreman-nightly/RPM-GPG-KEY-copr')
|
||
should contain_yumrepo('foreman-rails').with_ensure('absent')
|
||
end
|
||
end
|
||
|
||
... | ... | |
.with_gpgcheck('0')
|
||
.with_enabled('0')
|
||
|
||
should contain_yumrepo('foreman-rails')
|
||
.with_descr('Rails SCL for Foreman nightly')
|
||
.with_baseurl('https://yum.theforeman.org/rails/foreman-nightly/el7/$basearch')
|
||
.with_gpgcheck('0')
|
||
.with_enabled('1')
|
||
.with_gpgkey('https://yum.theforeman.org/rails/foreman-nightly/RPM-GPG-KEY-copr')
|
||
should contain_yumrepo('foreman-rails').with_ensure('absent')
|
||
end
|
||
end
|
||
end
|
||
... | ... | |
.with_gpgcheck('0')
|
||
.with_enabled('0')
|
||
|
||
should contain_yumrepo('foreman-rails')
|
||
.with_descr('Rails SCL for Foreman 1.19')
|
||
.with_baseurl('https://yum.theforeman.org/rails/foreman-1.19/el7/$basearch')
|
||
.with_gpgcheck('1')
|
||
.with_enabled('1')
|
||
.with_gpgkey('https://yum.theforeman.org/rails/foreman-1.19/RPM-GPG-KEY-copr')
|
||
should contain_yumrepo('foreman-rails').with_ensure('absent')
|
||
end
|
||
end
|
||
|
||
... | ... | |
.with_gpgcheck('0')
|
||
.with_enabled('0')
|
||
|
||
should contain_yumrepo('foreman-rails')
|
||
.with_descr('Rails SCL for Foreman 1.19')
|
||
.with_baseurl('https://yum.theforeman.org/rails/foreman-1.19/el7/$basearch')
|
||
.with_gpgcheck('0')
|
||
.with_enabled('1')
|
||
.with_gpgkey('https://yum.theforeman.org/rails/foreman-1.19/RPM-GPG-KEY-copr')
|
||
should contain_yumrepo('foreman-rails').with_ensure('absent')
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
Drop the separate rails repository
Foreman 2.0 dropped this and needs to be removed.