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

Commit

Permalink
Merge pull request #495 from gregsher88/master
Browse files Browse the repository at this point in the history
#491 - Remove chef/mixin/language references to support Chef 14
  • Loading branch information
sherenator committed Mar 21, 2019
2 parents d4c2749 + 1d9406c commit f17b392
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 24 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG for chef-logstash

## 1.0.1

* MINOR - Removed chef/mixin/language references to support Chef 14
* MINOR - Pinned version for 'cucumber-core' and 'gherkin' in Gemfile
* MINOR - Update Ubuntu version in specs

## 1.0.0

* MAJOR - Get tests passing on Chef 12.7
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ group :kitchen_vagrant do
gem 'vagrant-wrapper'
end

gem 'cucumber-core', '3.2.0'
gem 'gherkin', '5.1.0'
gem 'rake'
gem 'serverspec'
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
description 'Installs/Configures logstash'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))

version '1.0.0'
version '1.0.1'

%w(ubuntu debian redhat centos scientific amazon fedora).each do |os|
supports os
Expand Down
4 changes: 0 additions & 4 deletions providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
#
# Copyright 2014, John E. Vincent

require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@instance = new_resource.instance
@basedir = Logstash.get_attribute_or_default(node, @instance, 'basedir')
Expand Down
4 changes: 0 additions & 4 deletions providers/curator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
#
# Copyright 2014, John E. Vincent

require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@instance = new_resource.instance || 'default'
@days_to_keep = new_resource.days_to_keep || Logstash.get_attribute_or_default(node, @instance, 'curator_days_to_keep')
Expand Down
3 changes: 0 additions & 3 deletions providers/instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Copyright 2014, John E. Vincent

require 'pathname'
require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@name = new_resource.name || 'default'
Expand Down
4 changes: 0 additions & 4 deletions providers/pattern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
#
# Copyright 2014, John E. Vincent

require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@instance = new_resource.instance
@basedir = Logstash.get_attribute_or_default(node, @instance, 'basedir')
Expand Down
4 changes: 0 additions & 4 deletions providers/plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
#
# Copyright 2014, John E. Vincent

require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@name = new_resource.name || 'contrib'
@instance = new_resource.instance || 'default'
Expand Down
3 changes: 0 additions & 3 deletions providers/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Copyright 2014, John E. Vincent

require 'pathname'
require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut

def load_current_resource
@instance = new_resource.instance
Expand Down
2 changes: 1 addition & 1 deletion test/unit/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

::UBUNTU_OPTS = {
platform: 'ubuntu',
version: '12.04',
version: '14.04',
log_level: ::LOG_LEVEL
}

Expand Down

0 comments on commit f17b392

Please sign in to comment.