Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update link to the stable lein #3

Merged
merged 4 commits into from
Jan 5, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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