Skip to content

Commit

Permalink
fix: support centos/rh in lftp recipe
Browse files Browse the repository at this point in the history
Change-Id: I8c8e7daa2a0cc8be3475f28b03cd03ec6dbff613
  • Loading branch information
joshbronson committed Jul 28, 2014
1 parent 7246331 commit 42c2adc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/lftp/VERSION
@@ -1 +1 @@
2.0.0
2.0.1
2 changes: 2 additions & 0 deletions cookbooks/lftp/attributes/default.rb
Expand Up @@ -3,6 +3,8 @@
default[:lftp][:configfile] = "/etc/lftp/lftp.conf"
when "debian", "ubuntu"
default[:lftp][:configfile] = "/etc/lftp.conf"
when "centos", "redhat"
default[:lftp][:configfile] = "/etc/lftp.conf"
end

default[:lftp][:bookmarks] = {}
2 changes: 2 additions & 0 deletions cookbooks/lftp/recipes/default.rb
Expand Up @@ -8,6 +8,8 @@
when "mac_os_x"
package "lftp"

when 'centos', 'redhat'
package 'lftp'
end

directory "#{node[:homedir]}/.lftp" do
Expand Down

0 comments on commit 42c2adc

Please sign in to comment.