diff --git a/manifests/storage/.mount.pp.swp b/manifests/storage/.mount.pp.swp deleted file mode 100644 index 89b41e76..00000000 Binary files a/manifests/storage/.mount.pp.swp and /dev/null differ diff --git a/manifests/storage/loopback.pp b/manifests/storage/loopback.pp index 401fea1d..fa336e34 100644 --- a/manifests/storage/loopback.pp +++ b/manifests/storage/loopback.pp @@ -7,10 +7,10 @@ # - formats the file to be an xfs device and mounts it as a loopback device at /srv/node/$name # - sets up each mount point as a swift endpoint define swift::storage::loopback( - $base_dir = '/srv/loopback-device', + $base_dir = '/srv/loopback-device', $mnt_base_dir = '/srv/node', - $byte_size = '1024', - $seek = '25000' + $byte_size = '1024', + $seek = '25000' ) { if(!defined(File[$base_dir])) { @@ -39,7 +39,7 @@ define swift::storage::loopback( mnt_base_dir => $mnt_base_dir, byte_size => $byte_size, subscribe => Exec["create_partition-${name}"], - loopback => true, + loopback => true, } } diff --git a/manifests/storage/mount.pp b/manifests/storage/mount.pp index eb43380f..89127ccb 100644 --- a/manifests/storage/mount.pp +++ b/manifests/storage/mount.pp @@ -6,7 +6,7 @@ define swift::storage::mount( $device, $mnt_base_dir = '/srv/node', - $loopback = false, + $loopback = false ) { if($loopback){ $options = 'noatime,nodiratime,nobarrier,logbufs=8,loop' diff --git a/manifests/storage/xfs.pp b/manifests/storage/xfs.pp index 67173552..b0a9ea36 100644 --- a/manifests/storage/xfs.pp +++ b/manifests/storage/xfs.pp @@ -12,9 +12,9 @@ # It is recommened to use 1024 to ensure that the metadata can fit in a single inode. define swift::storage::xfs( $device, - $byte_size = '1024', + $byte_size = '1024', $mnt_base_dir = '/srv/node', - $loopback = false, + $loopback = false ) { include swift::xfs