-
Notifications
You must be signed in to change notification settings - Fork 259
Agent 7 support #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Agent 7 support #588
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
85ff117
Updated README
albertvaka 2ea3cc8
Remove agent5/6 from variable names
albertvaka 2653d72
Remove uses of validate_legacy
albertvaka d36a56c
Merge repository classes into a single one for all agent versions
albertvaka 774a50f
Unify conf_dir setting
albertvaka a05d2e9
Oops
albertvaka dddcdcb
Bump major version
albertvaka a33aa20
Update README
albertvaka 8da3665
Fix test
albertvaka edd9473
Rmove service_name and package_name parameters
albertvaka 59384e0
Add types to some parameters
albertvaka 6b7f316
Do not change group ownership to root
albertvaka 54ee365
Fail if agent_major_version out of range
albertvaka dcf1416
Re-add agent5 config dir so we can ensure => absent
albertvaka ddafbb4
Make linter happy
albertvaka da9f32d
README
albertvaka 9db150f
Update README.md
albertvaka bf7a39d
More types
albertvaka f62859e
Fix agent6 mentions in comments
albertvaka 01753ae
Ensure datadog-beta repo is absent
albertvaka 261153e
Mention masterless setups in README
albertvaka 6fef12a
Rename CONF_DIR6 to CONF_DIR
albertvaka 92788f7
Use context blocks for Agent 5/6/7
albertvaka b508316
Alignment
albertvaka 83ca7a4
Add authors
albertvaka 03b7c19
Fix gem name
albertvaka 153f782
Logic to auto-detect agent_major_version (#589)
albertvaka 4aedd98
Merge remote-tracking branch 'origin/master' into albertvaka/agent-7-…
albertvaka 4a4c7f6
Update changelog
albertvaka b8d485d
Point to A7 when installing latest on Windows
albertvaka 7128420
Document agent_repo_uri and apt_release
albertvaka aac9500
Fix regex to include -suffix in addition to ~suffix
albertvaka a5a1c45
Fix ubuntu tests
albertvaka 3c54fe9
Fix systemctl command
albertvaka 75c1203
Make major version detection tests be Linux-only
albertvaka 41116d8
Changes as per CR
albertvaka 0d8bdf0
Update CHANGELOG.md
albertvaka b85f666
Update release date
albertvaka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
agent_repo_urishould be mentioned here, as it's the only way to use a custom repo. For ubuntu / debian,agent_default_releaseshould be documented as well.Moreover, the behavior and expected values of
agent_repo_urishould be indicated (right now, you have to dig through the source code to know what you're supposed to do):apt, the repo url (without release branch and component) (eg.https://apt.datadoghq.com/)yum, the repo url with the release branch, component and arch (eg.https://yum.datadoghq.com/stable/7/x86_64)https://https://s3.amazonaws.com/ddagent-windows-stable/)Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was undocumented before A7 support, so I left it as it was. I documented both in
init.pp(in the source code, but that's where most parameter descriptions are).