-
Notifications
You must be signed in to change notification settings - Fork 262
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 #176 from DataDog/jaime/preprelease_alt
Pre-Release 1.7.0 PR
- Loading branch information
Showing
65 changed files
with
2,395 additions
and
122 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
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
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
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
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,28 @@ | ||
# Class: datadog_agent::integrations::consul | ||
# | ||
# This class will install the necessary configuration for the consul integration | ||
# | ||
# Parameters: | ||
# $url: | ||
# The URL for consul | ||
# | ||
# Sample Usage: | ||
# | ||
# class { 'datadog_agent::integrations::consul' : | ||
# url => "http://localhost:8500" | ||
# } | ||
# | ||
class datadog_agent::integrations::consul( | ||
$url = 'http://localhost:8500' | ||
) inherits datadog_agent::params { | ||
|
||
file { "${datadog_agent::params::conf_dir}/consul.yaml": | ||
ensure => file, | ||
owner => $datadog_agent::params::dd_user, | ||
group => $datadog_agent::params::dd_group, | ||
mode => '0644', | ||
content => template('datadog_agent/agent-conf.d/consul.yaml.erb'), | ||
require => Package[$datadog_agent::params::package_name], | ||
notify => Service[$datadog_agent::params::service_name] | ||
} | ||
} |
Oops, something went wrong.