Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from Stromweld/testing
Browse files Browse the repository at this point in the history
fix linux include_recipe line
  • Loading branch information
Stromweld authored Apr 20, 2017
2 parents 4e86bcd + 30d680a commit a0e9745
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG for timezone_ii

## 2.0.0 (4/19/2017)
## 1.0.3 (4/20/2017)

- [Corey Hemminger] - fixed linux include_recipe line that was being skipped

## 1.0.2 (4/19/2017)

- [Corey Hemminger] - changed hash rockets to new hash style

Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache-2.0'
description 'Configures the timezone for node'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.2'
version '1.0.3'
chef_version '>= 12.1' if respond_to?(:chef_version)

# The `issues_url` points to the location where issues for this cookbook are
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
)
case node['platform_family']
when 'rhel', 'fedora'
include_recipe { node['platform_version'].split('.')[0].to_i >= 7 ? 'timezone_iii::rhel7' : 'timezone_iii::rhel' }
include_recipe node['platform_version'].split('.')[0].to_i >= 7 ? 'timezone_iii::rhel7' : 'timezone_iii::rhel'
when 'debian', 'pld', 'amazon'
include_recipe "timezone_iii::#{node['platform_family']}"
else
Expand Down

0 comments on commit a0e9745

Please sign in to comment.