Skip to content

Commit

Permalink
release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Feb 14, 2013
1 parent e3e068b commit 638db7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## v2.3.0:

* [COOK-2385] - update git::server for `runit_service` resource support

## v2.2.0:

* [COOK-2303] - git::server support for RHEL platform_family
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -4,7 +4,7 @@
license "Apache 2.0"
description "Installs git and/or sets up a Git server daemon"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "2.2.1"
version "2.3.0"
recipe "git", "Installs git"
recipe "git::server", "Sets up a runit_service for git daemon"
recipe "git::source", "Installs git from source"
Expand Down

1 comment on commit 638db7f

@evgeny-goldin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Joshua, "git::source" fails on Ubuntu as it only checks Windows for unsupported platforms so later pkgs gets a null assigned.

 25:  pkgs = value_for_platform_family(
 26:    ["rhel"] => %w{ expat-devel gettext-devel libcurl-devel openssl-devel perl-ExtUtils-MakeMaker zlib-devel }
 27:  )
 28:
 29>> pkgs.each do |pkg|
 30:    package pkg
 31:  end
 32:
 33:  remote_file "#{Chef::Config['file_cache_path']}/git-#{node['git']['version']}.tar.gz" do
 34:    source    node['git']['url']
 35:    checksum  node['git']['checksum']
 36:    mode      00644
 37:    not_if "test -f #{Chef::Config['file_cache_path']}/git-#{node['git']['version']}.tar.gz"
 38:  end

[2013-03-18T13:29:51+01:00] ERROR: Running exception handlers
[2013-03-18T13:29:51+01:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-03-18T13:29:51+01:00] ERROR: Exception handlers complete
[2013-03-18T13:29:52+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-03-18T13:29:52+01:00] FATAL: NoMethodError: undefined method `each' for nil:NilClass

Please sign in to comment.