cookbooks/site/ruby-shadow/recipes/default.rb in solokit-0.1.13 vs cookbooks/site/ruby-shadow/recipes/default.rb in solokit-0.1.14

- old
+ new

@@ -1,5 +1,5 @@ -site_ruby = node[:ruby_shadow][:site_ruby] || "/usr/lib/ruby/site_ruby/1.8" +site_ruby = (node[:ruby_shadow] && node[:ruby_shadow][:site_ruby]) || "/usr/lib/ruby/site_ruby/1.8" remote_directory "/usr/local/src/shadow-1.4.1" do source 'shadow-1.4.1' not_if { File.exists?(File.join(site_ruby, "#{node[:languages][:ruby][:platform]}/shadow.so")) } end