Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

release v2.3.0

  • Loading branch information...
commit 638db7f1bf60d36b27dacbe136eadd99111157a5 1 parent e3e068b
@jtimberman jtimberman authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGELOG.md
  2. +1 −1  metadata.rb
View
4 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
View
2  metadata.rb
@@ -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"

1 comment on commit 638db7f

@evgeny-goldin

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.
Something went wrong with that request. Please try again.