Skip to content

Commit

Permalink
Feature/chef client 1216 (#50)
Browse files Browse the repository at this point in the history
* Update kitchen to test with client 12.16.

* Fixes #49 - Use a blank distribution
so the chef-client doesn't misconfigure the repo.

* Update Changelog
  • Loading branch information
Clift Greene authored and majormoses committed Jun 28, 2017
1 parent 0016bec commit 80b43a8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ platforms:
suites:
- name: netuitive
driver_config:
require_chef_omnibus: 12.8
require_chef_omnibus: 12.16
run_list:
- recipe[netuitive::add_repo]
- recipe[netuitive::install_agent]
Expand All @@ -38,6 +38,18 @@ suites:
custom_collectors:
FooBarCollector:
foo: bar
- name: chef-12.8
driver_config:
require_chef_omnibus: 12.8
run_list:
- recipe[netuitive::add_repo]
- recipe[netuitive::install_agent]
- recipe[netuitive::configure]
attributes:
netuitive:
custom_collectors:
FooBarCollector:
foo: bar
# - name: chef-11.18.12
# driver_config:
# require_chef_omnibus: 11.18.12
Expand Down
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEPENDENCIES

GRAPH
apt (3.0.0)
netuitive (0.16.0)
netuitive (0.17.0)
apt (>= 0.0.0)
yum (>= 0.0.0)
yum (3.10.0)
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
- changed to use chef-client 12.16
- fixed issue with apt repository creation per #49. @Createor

# 0.17.0
- bump default collector agent version @Creator
- bump default collector agent version @Createor

# 0.16.0
- added support for Ubuntu 16.04 LTS and made it an an officially supported platforms
- updating gem dependencies
- removed ruby 2.1 support
- removed chef 11 testing as its support exists in its own brnch and I would not expect any more work done on it.
- removed chef 11 testing as its support exists in its own branch and I would not expect any more work done on it.
- setup travis to run kitchen tests for centos-6 and centos-7 (more to come later)

# 0.15.1
Expand Down
1 change: 1 addition & 0 deletions libraries/provider_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class NetuitiveCookbook::NetuitiveRepoProvider < Chef::Provider::LWRPBase
include_recipe 'apt'
# add repo and key
apt_repository 'netuitive' do
distribution ''
uri new_resource.repo_urls['debian']
key new_resource.repo_keys['debian']
components new_resource.repo_components['debian']
Expand Down

0 comments on commit 80b43a8

Please sign in to comment.