
Murano API & Engine services provide the core of Murano. This patch adds implementation of murano service manifests: * murano::api installs and manages Murano API service which processes user requests; * murano::engine installs and manages Murano Engine service which handles background request processing. Change-Id: I6430544eda4fc6b1b16aa53ff9e6c127c62a2e5d Depends-On: If34c3b12afb2fe7a64b24a8660d6e8d1806bb8fd
46 lines
1.1 KiB
Ruby
46 lines
1.1 KiB
Ruby
require 'spec_helper'
|
|
|
|
describe 'murano::engine' do
|
|
|
|
shared_examples_for 'murano-engine' do
|
|
it { is_expected.to contain_class('murano::engine') }
|
|
end
|
|
|
|
context 'on a RedHat osfamily' do
|
|
let :facts do
|
|
{
|
|
:osfamily => 'RedHat',
|
|
:operatingsystemrelease => '7.0',
|
|
:concat_basedir => '/var/lib/puppet/concat'
|
|
}
|
|
end
|
|
|
|
it_configures 'murano-engine'
|
|
|
|
it_behaves_like 'generic murano service', {
|
|
:name => 'murano-engine',
|
|
:package_name => 'openstack-murano-engine',
|
|
:service_name => 'murano-engine'
|
|
}
|
|
end
|
|
|
|
context 'on a Debian osfamily' do
|
|
let :facts do
|
|
{
|
|
:operatingsystemrelease => '7.8',
|
|
:operatingsystem => 'Debian',
|
|
:osfamily => 'Debian',
|
|
:concat_basedir => '/var/lib/puppet/concat'
|
|
}
|
|
end
|
|
|
|
it_configures 'murano-engine'
|
|
|
|
it_behaves_like 'generic murano service', {
|
|
:name => 'murano-engine',
|
|
:package_name => 'murano-engine',
|
|
:service_name => 'murano-engine'
|
|
}
|
|
end
|
|
end
|