Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dave Pippenger
committed
Dec 11, 2013
1 parent
77a6578
commit b1f9159
Showing
2 changed files
with
27 additions
and
0 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,4 @@ | ||
init_config: | ||
|
||
instances: | ||
- url: http://localhost:9200 |
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 @@ | ||
# Class: datadog::integrations::elasticsearch | ||
# | ||
# This class will install the necessary configuration for the elasticsearch integration | ||
# Parameters: | ||
# none | ||
# | ||
# Sample Usage: | ||
# | ||
# class { 'datadog::integrations::elasticsearch' : | ||
# } | ||
# | ||
class datadog::integrations::elasticsearch inherits datadog::params { | ||
|
||
file { "${datadog::conf_dir}/elastic.yaml": | ||
ensure => file, | ||
owner => $datadog::dd_user, | ||
group => $datadog::dd_group, | ||
mode => '0644', | ||
source => 'puppet:///modules/datadog/elastic.yaml', | ||
require => Package[ 'datadog-agent' ], | ||
notify => Service[ $datadog::service_name ], | ||
} | ||
} |