Revision 471a9b06
Added by Partha Aji over 8 years ago
manifests/apache.pp | ||
---|---|---|
}
|
||
|
||
if $pulp::enable_ostree {
|
||
pulp::apache_plugin { 'ostree': }
|
||
pulp::apache_plugin { 'ostree': vhosts80 => false }
|
||
}
|
||
|
||
if $pulp::enable_parent_node {
|
manifests/install.pp | ||
---|---|---|
if $pulp::enable_python {
|
||
package { ['pulp-python-plugins']: ensure => $pulp::version, }
|
||
}
|
||
|
||
if $pulp::enable_ostree {
|
||
ensure_packages(['ostree'])
|
||
package { ['pulp-ostree-plugins']: ensure => $pulp::version, }
|
||
}
|
||
}
|
spec/classes/pulp_install_spec.rb | ||
---|---|---|
let :pre_condition do
|
||
"class {'pulp': enable_parent_node => true}"
|
||
end
|
||
|
||
|
||
it { should contain_package('pulp-nodes-parent').with_ensure('installed') }
|
||
end
|
||
|
||
describe "with enable_ostree" do
|
||
let :facts do
|
||
default_facts
|
||
end
|
||
|
||
let :pre_condition do
|
||
"class {'pulp': enable_ostree => true}"
|
||
end
|
||
|
||
it { should contain_package('ostree').with_ensure('present') }
|
||
it { should contain_package('pulp-ostree-plugins').with_ensure('installed') }
|
||
end
|
||
end
|
templates/vhosts80/ostree.conf | ||
---|---|---|
Alias /pulp/ostree /var/www/pub/yum/http/ostree
|
Also available in: Unified diff
Refs #13625 - Install ostree via puppet-pulp