diff --git a/manifests/storage.pp b/manifests/storage.pp index 27257659..cfc4d1c2 100644 --- a/manifests/storage.pp +++ b/manifests/storage.pp @@ -23,9 +23,11 @@ class swift::storage( $storage_local_net_ip ) { - class{ 'rsync::server': - use_xinetd => true, - address => $storage_local_net_ip, - use_chroot => 'no', + if !defined(Class['rsync::server']){ + class{ 'rsync::server': + use_xinetd => true, + address => $storage_local_net_ip, + use_chroot => 'no', + } } }