Skip to content

Commit

Permalink
Merge pull request #100 from LyraPhase/fix-dmg-dependency-for-old-che…
Browse files Browse the repository at this point in the history
…f-versions

Fix dmg dependency for old chef versions
  • Loading branch information
trinitronx authored May 28, 2022
2 parents e521258 + c4cb5b7 commit 5427c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license "GPL-3.0+"
description "Recipes to Install & Configure my workstation"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "3.4.0"
version "3.4.1"
chef_version ">= 12.0" if respond_to?(:chef_version)

source_url 'https://github.com/LyraPhase/lyraphase_workstation' if respond_to?(:source_url)
Expand All @@ -14,7 +14,7 @@

supports 'mac_os_x'
depends 'homebrew'
depends 'dmg' unless respond_to?(:chef_version) and Chef::const_defined?(:VERSION) and Chef::VersionConstraint.new(">= 10.14.0").include?(Chef::VERSION.to_s)
depends 'dmg' unless respond_to?(:chef_version) and Chef::const_defined?(:VERSION) and Chef::VersionConstraint.new(">= 14.0").include?(Chef::VERSION.to_s)
depends 'osx' # For osx_defaults LWRP
depends 'sprout-base' # For `libraries/directory#recursive_directories()` function
depends 'plist', '~> 0.9' # For `plist_file` LWRP (used in lyraphase_workstation::airfoil recipe)
Expand Down

0 comments on commit 5427c86

Please sign in to comment.