Skip to content

Commit

Permalink
Merge pull request #3 from maxprokopiev/master
Browse files Browse the repository at this point in the history
Update link to the stable lein
  • Loading branch information
Kasim committed Jan 5, 2015
2 parents 1e964f6 + 0bf1535 commit fbf338e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 41 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# DESCRIPTION:

Installs leiningen from the built image on github (http://github.com/technomancy/leiningen/raw/stable/bin/lein)
Installs leiningen from the built image on github: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein

Forked from the outdated repo https://github.com/runa-labs/chef-leiningen (see https://github.com/runa-labs/chef-leiningen/pull/3)

# REQUIREMENTS:

none

# ATTRIBUTES:
# ATTRIBUTES:

none

Expand Down
29 changes: 0 additions & 29 deletions metadata.json

This file was deleted.

8 changes: 4 additions & 4 deletions metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
maintainer "Runa Inc."
maintainer_email "ops@runa.com"
maintainer "Max Prokopiev"
maintainer_email "me@maxprokopiev.com"
license "Apache 2.0"
description "Installs/Configures leiningen"
description "Installs/Configures stable leiningen"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.3.5"
version "0.1.0"
12 changes: 6 additions & 6 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -18,17 +18,17 @@
#

remote_file "/usr/local/bin/lein" do
source "https://raw.github.com/technomancy/leiningen/5eaad5c48db0668d773e6e964bdb64c30116c370/bin/lein"
source "https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein"
mode "755"
owner "root"
group "root"
backup false
end

execute "install_leiningen" do
command "export HTTP_CLIENT='curl --insecure -f -L -o'; lein version"
user node[:lein][:user]
command "lein version"
user node[:lein][:user]
group node[:lein][:group]
environment ({"HOME" => node[:lein][:home]})
environment ({"HOME" => node[:lein][:home], "HTTP_CLIENT" => 'curl --insecure -f -L -o'})
end

0 comments on commit fbf338e

Please sign in to comment.