Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use system ruby shadow package

  • Loading branch information...
commit f16c913b1bec9be99b005ceaf227278a6801ab0b 1 parent 55453dc
@jsierles authored
Showing with 1 addition and 15 deletions.
  1. +1 −15 ruby-shadow/recipes/default.rb
View
16 ruby-shadow/recipes/default.rb
@@ -1,15 +1 @@
-remote_directory "/usr/local/src/shadow-2.3.14" do
- source 'shadow-2.3.14'
- not_if { File.exists?("#{node[:languages][:ruby][:bin_dir].gsub(/bin$/, "lib/ruby/site_ruby/1.9.1/")}#{node[:languages][:ruby][:platform]}/shadow.so") }
-end
-
-bash "install ruby shadow library" do
- user "root"
- cwd "/usr/local/src"
- code <<-EOH
- cd shadow-2.3.14
- ruby extconf.rb
- make install
- EOH
- not_if { File.exists?("#{node[:languages][:ruby][:bin_dir].gsub(/bin$/, "lib/ruby/site_ruby/1.9.1/")}#{node[:languages][:ruby][:platform]}/shadow.so") }
-end
+package "libshadow-ruby1.8"
Please sign in to comment.
Something went wrong with that request. Please try again.