From 0b8eb6e397d8ea9f94619e77c90a634196c929ec Mon Sep 17 00:00:00 2001 From: ramire718 Date: Tue, 20 Dec 2016 12:03:31 -0800 Subject: [PATCH] Fix deprecation warnings --- attributes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index 699df21..befa362 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -20,8 +20,8 @@ default['python']['install_method'] = 'package' -if python['install_method'] == 'package' - case platform +if node['python']['install_method'] == 'package' + case node['platform'] when "smartos" default['python']['prefix_dir'] = '/opt/local' else