From: Walter Huf Date: Wed, 28 May 2014 16:13:51 +0000 (-0500) Subject: Explicitly install ceph-fs-common for cephfs X-Git-Tag: v0.8.0~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=20baf1daa56e1e8029e3ac0927ddad41a0bd84d7;p=ceph-cookbooks.git Explicitly install ceph-fs-common for cephfs --- diff --git a/attributes/cephfs.rb b/attributes/cephfs.rb index 1043a47..981b338 100644 --- a/attributes/cephfs.rb +++ b/attributes/cephfs.rb @@ -1 +1,10 @@ default['ceph']['cephfs_mount'] = '/ceph' + +case node['platform_family'] +when 'debian' + packages = ['ceph-fs-common'] + packages += debug_packages(packages) if node['ceph']['install_debug'] + default['ceph']['cephfs']['packages'] = packages +else + default['ceph']['cephfs']['packages'] = [] +end diff --git a/recipes/cephfs.rb b/recipes/cephfs.rb index 6017c2f..64dbaf9 100644 --- a/recipes/cephfs.rb +++ b/recipes/cephfs.rb @@ -18,6 +18,7 @@ # limitations under the License. include_recipe 'ceph::_common' +include_recipe 'ceph::cephfs_install' include_recipe 'ceph::conf' name = 'cephfs' diff --git a/recipes/cephfs_install.rb b/recipes/cephfs_install.rb new file mode 100644 index 0000000..826997d --- /dev/null +++ b/recipes/cephfs_install.rb @@ -0,0 +1,5 @@ +include_recipe 'ceph::_common_install' + +node['ceph']['cephfs']['packages'].each do |pck| + package pck +end