Skip to content

Commit

Permalink
Require Chef 12.14+ and remove apt/yum dependencies
Browse files Browse the repository at this point in the history
Chef 12 is end of life so there's really no need to continue to pull in
the apt and yum dependencies here. Instead of maintaining the 12.1
requirement bump it to 12.14 which came out Sept 2016. Even if you
haven't upgraded to Chef 13 there's no reason not to be on one of the
later Chef 12 releases.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored and majormoses committed Apr 29, 2018
1 parent 63a3ce0 commit 6f49c24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.5.0'

depends 'yum'
depends 'apt'
depends 'chef-vault', '>= 1.3.1'

%w(
Expand All @@ -23,4 +21,4 @@

source_url 'https://github.com/sensu/uchiwa-chef'
issues_url 'https://github.com/sensu/uchiwa-chef/issues'
chef_version '>= 12.1' if respond_to?(:chef_version)
chef_version '>= 12.14' if respond_to?(:chef_version)
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
template "#{node['uchiwa']['sensu_homedir']}/uchiwa.json" do
user node['uchiwa']['owner']
group node['uchiwa']['group']
mode 0640
mode '0640'
notifies :restart, 'service[uchiwa]' if node['uchiwa']['manage_service']
variables(:config => JSON.pretty_generate(config))
end
Expand Down
File renamed without changes.

0 comments on commit 6f49c24

Please sign in to comment.