-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Dynatrace/release-0.2.0
Release 0.2.0
- Loading branch information
Showing
28 changed files
with
842 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Delivery for Local Phases Execution | ||
# | ||
# This file allows you to execute test phases locally on a workstation or | ||
# in a CI pipeline. The delivery-cli will read this file and execute the | ||
# command(s) that are configured for each phase. You can customize them | ||
# by just modifying the phase key on this file. | ||
# | ||
# By default these phases are configured for Cookbook Workflow only | ||
# | ||
|
||
[local_phases] | ||
unit = "chef exec rspec spec/" | ||
lint = "chef exec cookstyle" | ||
# Foodcritic includes rules only appropriate for community cookbooks | ||
# uploaded to Supermarket. We turn off any rules tagged "supermarket" | ||
# by default. If you plan to share this cookbook you should remove | ||
# '-t ~supermarket' below to enable supermarket rules. | ||
syntax = "chef exec foodcritic . -t ~supermarket" | ||
provision = "chef exec kitchen create" | ||
deploy = "chef exec kitchen converge" | ||
smoke = "chef exec kitchen verify" | ||
# The functional phase is optional, you can define it by uncommenting | ||
# the line below and running the command: `delivery local functional` | ||
# functional = "" | ||
cleanup = "chef exec kitchen destroy" | ||
|
||
# Remote project.toml file | ||
# | ||
# Instead of the local phases above, you may specify a remote URI location for | ||
# the `project.toml` file. This is useful for teams that wish to centrally | ||
# manage the behavior of the `delivery local` command across many different | ||
# projects. | ||
# | ||
# remote_file = "https://url/project.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.vagrant | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
.*.sw[a-z] | ||
*.un~ | ||
.DS_Store | ||
|
||
# Bundler | ||
Gemfile.lock | ||
gems.locked | ||
bin/* | ||
.bundle/* | ||
|
||
# test kitchen | ||
.kitchen/ | ||
kitchen.local.yml | ||
|
||
# Chef | ||
Berksfile.lock | ||
.zero-knife.rb | ||
Policyfile.lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source 'https://supermarket.chef.io' | ||
|
||
metadata | ||
metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# dynatraceoneagent CHANGELOG | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
# 0.1.0 | ||
|
||
Initial release. | ||
|
||
# 0.2.0 | ||
|
||
Features | ||
|
||
- Ability to download specific version | ||
- Cookbook automatically detects OS and downloads required installer. | ||
- Cookbook automatically detects OS and will install Dynatrace OneAgent with required Chef resource. | ||
- Add support for OneAgent Install Params | ||
- Added parameter to set Dynatrace OneAgent package status | ||
- Added parameter to set Dynatrace OneAgent service status | ||
- Introduced OneAgent installer signature verification functionality | ||
- Add option to delete installer files after successful install. | ||
- Added idempotency | ||
|
||
Bugfixes | ||
|
||
- Using cookbook specific attributes | ||
- Fixed windows installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This gemfile provides additional gems for testing and releasing this cookbook | ||
# It is meant to be installed on top of ChefDK / Chef Workstation which provide the majority | ||
# of the necessary gems for testing this cookbook | ||
# | ||
# Run 'chef exec bundle install' to install these dependencies | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'community_cookbook_releaser' | ||
gem 'stove' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
MIT License | ||
|
||
Copyright (c) 2008-2021 Dynatrace, LLC | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Policyfile.rb - Describe how you want Chef Infra Client to build your system. | ||
# | ||
# For more information on the Policyfile feature, visit | ||
# https://docs.chef.io/policyfile.html | ||
|
||
# A name that describes what the system you're building with Chef does. | ||
name 'dynatraceoneagent' | ||
|
||
# Where to find external cookbooks: | ||
default_source :supermarket | ||
|
||
# run_list: chef-client will run these recipes in the order specified. | ||
run_list 'dynatraceoneagent::default' | ||
|
||
# Specify a custom source for a single cookbook: | ||
cookbook 'dynatraceoneagent', path: '.' |
Oops, something went wrong.