Skip to content
Permalink
Browse files

Require Chef 12.14+ and remove apt/yum dependencies

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 <tsmith@chef.io>
  • Loading branch information...
tas50 authored and majormoses committed Apr 28, 2018
1 parent 63a3ce0 commit 6f49c245687f248447ce8218401dcc6a3426d00b
Showing with 2 additions and 4 deletions.
  1. +1 −3 metadata.rb
  2. +1 −1 recipes/default.rb
  3. 0 templates/{default → }/uchiwa.json.erb
@@ -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(
@@ -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)
@@ -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
File renamed without changes.

0 comments on commit 6f49c24

Please sign in to comment.
You can’t perform that action at this time.