From 6d75683145b8f1fc61355d30ccb6ef1a535be482 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Thu, 28 Nov 2013 15:03:15 +0000 Subject: [PATCH] Fix platform_family will never be centos - for CentOS it'd be rhel --- recipes/rpm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/rpm.rb b/recipes/rpm.rb index 9899a36..d00b4b9 100644 --- a/recipes/rpm.rb +++ b/recipes/rpm.rb @@ -12,7 +12,7 @@ end branch = node['ceph']['branch'] -if branch == "dev" and platform_family != "centos" and platform_family != "fedora" +if branch == "dev" and platform_family != "rhel" and platform_family != "fedora" raise "Dev branch for #{platform_family} is not yet supported" end