]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Don't try to install btrfs-tools on rhel5 120/head
authorWalter Huf <walter.huf@corvisa.com>
Thu, 8 May 2014 22:14:40 +0000 (17:14 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Thu, 8 May 2014 22:14:40 +0000 (17:14 -0500)
recipes/rpm.rb

index f48b1df13e08cdc128b5f7a47f35ff2d346ae453..a2708efdcadd4580c4fb521f6a4fffdcad29883e 100644 (file)
@@ -24,7 +24,9 @@ end
 package 'parted'    # needed by ceph-disk-prepare to run partprobe
 package 'hdparm'    # used by ceph-disk activate
 package 'xfsprogs'  # needed by ceph-disk-prepare to format as xfs
-package 'btrfs-progs' # needed to format as btrfs, in the future
+if node['platform_family'] == 'rhel' && node['platform_version'].to_f > 6
+  package 'btrfs-progs' # needed to format as btrfs, in the future
+end
 if node['platform_family'] == 'rhel' && node['platform_version'].to_f < 7
   package 'python-argparse'
 end