* add support for forward proxies
* fix rubocop report
* Cookstyle changes for Chef 16
* Remove .foodcritic
* Update maintainer information metadata.rb
* Bump cookbook version
* More cookstyle fixes
* Remove .rubocop.yml
* Fix line endings
* Modernize and lint kitchen.yml
* Remove Travis CI
* Remove Rakefile
* Update license
* Update kitchen.yml to use kitchen-azurerm driver
* Remove .rspec file
* Add CHANGELOG for 3.2.0
* Fix SSH Transport for kitchen-azurerm
* Update libssl version for debian-10 and change liburl to curl
* Require Chef 14 as minimum version
* Rename .kitchen.yml to kitchen.yml
* Update CHANGELOG
* Remove macOS suites from kitchen
There is a separate Pipelines Agent Cookbook for macOS
* Remove Windows suites until a future release
Co-authored-by: Christian Blechert <christian@serverless.industries>
* remove require of chef/mixin/language
This mixin was removed from chef 14.*
See [this stackoverflow](https://stackoverflow.com/questions/49909084/cannot-load-such-file-chef-mixin-language)
Fixes Recipe Compile error in Chef 14.3.37:
```
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb
================================================================================
LoadError
---------
cannot load such file -- chef/mixin/language
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb:4:in `<top (required)>'
Relevant File Content:
----------------------
/tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb:
1: require 'chef/resource/lwrp_base'
2: require 'chef/provider/lwrp_base'
3: require 'chef/mixin/shell_out'
4>> require 'chef/mixin/language'
5:
6: module VSTS
7: module Agent
8: # The service operations for vsts_agent
9: class Service
10: include Windows::Helper
11: include VSTS::Agent::Helpers
12: include Chef::DSL::PlatformIntrospection
13:
System Info:
------------
chef_version=14.3.37
platform=debian
platform_version=8.11
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/opt/chef/bin/chef-client
executable=/opt/chef/bin/chef-client
Running handlers:
[2018-08-17T17:57:39-07:00] ERROR: Running exception handlers
[2018-08-17T17:57:39-07:00] ERROR: Running exception handlers
Running handlers complete
[2018-08-17T17:57:39-07:00] ERROR: Exception handlers complete
[2018-08-17T17:57:39-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 01 seconds
[2018-08-17T17:57:39-07:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2018-08-17T17:57:39-07:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
[2018-08-17T17:57:39-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-17T17:57:39-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-17T17:57:39-07:00] FATAL: LoadError: cannot load such file -- chef/mixin/language
[2018-08-17T17:57:39-07:00] FATAL: LoadError: cannot load such file -- chef/mixin/language
```
#32
* Fix inability to find default recipe
For some reason the default recipe for build-essential isn't being deployed in 8.1.1.
I haven't figured out why. Since the logic in that recipe is only 3 lines
long, I opted for using the resource rather than the recipe.
#32
* Fix syntax error that prvents convergence in chef 14.
The variable name and the method were conflicting with each other,
making the compiler not find the helper method.
#32
* Use >= instead of ~> syntax.
* Add missing installation of seven zip.
#32
* Copy win_friendly_path method to helpers library.
For some reason, I wasn't able to get the Windows::Helper library to successfully include itself.
Since the method was simple enough, and unlikely to change much, I felt
moving it into the helpers library made sense, in addition to fixing the issue.
#32
* Revert changes to linux cookbook.
Turns out I had a corupted berkshelf download. Learning has occurred.
Inspect .bershelf on your dev box before assuming something is broken.
#32
* Add Windows Server 2016 to kitchen.yml
Add Windows Server 2016 with latest chef client to ensure changes work with latest chef.
* Re-add changes after merging latest upstream master.
* Uptick version for bug fix.
#32
* Update solution to utilize feedback provided by @ivadim.
Adds missing include statement.
#33
* Fix linting issues found in CI pipeline.
#32
* Several improvements for Mac
- Add URL validation for VSTS_URL variable
- Update soon-to-be depracated node attributes from "set" to "default"
- Use homebrew for installing openssl on macOS
- More detailed and updated testing guide
- Fix style and foodcritic