Remove inheritance
Part of a code wide refactor to remove unnessary inheritance.
This commit is contained in:
parent
047cb81ff3
commit
993ed67fd2
@ -21,7 +21,7 @@
|
|||||||
#
|
#
|
||||||
class swift::storage(
|
class swift::storage(
|
||||||
$storage_local_net_ip
|
$storage_local_net_ip
|
||||||
) inherits swift {
|
) {
|
||||||
|
|
||||||
class{ 'rsync::server':
|
class{ 'rsync::server':
|
||||||
use_xinetd => true,
|
use_xinetd => true,
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'swift::storage::generic' do
|
describe 'swift::storage::generic' do
|
||||||
|
|
||||||
let :title do
|
let :title do
|
||||||
@ -17,6 +18,7 @@ describe 'swift::storage::generic' do
|
|||||||
class { 'swift': swift_hash_suffix => 'foo' }
|
class { 'swift': swift_hash_suffix => 'foo' }
|
||||||
class { 'swift::storage': storage_local_net_ip => '10.0.0.1' }"
|
class { 'swift::storage': storage_local_net_ip => '10.0.0.1' }"
|
||||||
end
|
end
|
||||||
|
|
||||||
let :default_params do
|
let :default_params do
|
||||||
{:package_ensure => 'present',
|
{:package_ensure => 'present',
|
||||||
:service_provider => 'upstart'}
|
:service_provider => 'upstart'}
|
||||||
|
Loading…
Reference in New Issue
Block a user