Remove inheritance

Part of a code wide refactor to remove unnessary
inheritance.
This commit is contained in:
Dan Bode 2012-04-22 12:12:53 -07:00
parent 047cb81ff3
commit 993ed67fd2
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

@ -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'}