From 67d53de23ae1774dbfd47fb275d1e1caca3c8486 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Fri, 27 Jan 2012 22:07:28 -0800 Subject: [PATCH] Remove swift::storage::node from loopback define This commit removes The swift::storage::node declaration from the swift::storage::loopback definition. This is done to decouple the code that creates and mounts partitions from the code that creates swift devices. --- manifests/storage/loopback.pp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/manifests/storage/loopback.pp b/manifests/storage/loopback.pp index 54f60bb0..7221000a 100644 --- a/manifests/storage/loopback.pp +++ b/manifests/storage/loopback.pp @@ -10,8 +10,7 @@ define swift::storage::loopback( $base_dir = '/srv/loopback-device', $mnt_base_dir = '/srv/node', $byte_size = '1024', - $seek = '25000', - $storage_local_net_ip = '127.0.0.1' + $seek = '25000' ) { if(!defined(File[$base_dir])) { @@ -42,9 +41,4 @@ define swift::storage::loopback( subscribe => Exec["create_partition-${name}"], } - swift::storage::node { $name: - mnt_base_dir => $mnt_base_dir, - storage_local_net_ip => $storage_local_net_ip, - require => Swift::Storage::Xfs[$name] - } }