puppet-manila/spec/classes/manila_db_sync_spec.rb
Iury Gregory Melo Ferreira e6ab8881ee Manila $::os_service_default for db and log
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.

Related-bug: #1515273

Change-Id: Idf7bc36d321328391a1b361add965c53627124a4
2015-11-25 13:57:58 +00:00

17 lines
370 B
Ruby

require 'spec_helper'
describe 'manila::db::sync' do
let :facts do
@default_facts.merge({:osfamily => 'Debian'})
end
it { is_expected.to contain_exec('manila-manage db_sync').with(
:command => 'manila-manage db sync',
:path => '/usr/bin',
:user => 'manila',
:refreshonly => true,
:logoutput => 'on_failure'
) }
end