Skip to content
Snippets Groups Projects
Commit 1d8d2791 authored by Torstein Egge's avatar Torstein Egge
Browse files

changed the order of stuff

parent bea3ace5
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@ node 'elk-server.openstacklocal' {
include logstash
file {'/etc/heartbeat/heartbeat.yml':
ensure => present,
source => 'puppet:///modules/beats_conf/heartbeat.yml',
}
package {'heartbeat-elastic':
ensure => present,
}
......@@ -61,10 +66,6 @@ node 'elk-server.openstacklocal' {
require => Package['heartbeat-elastic'],
}
file {'/etc/heartbeat/heartbeat.yml':
ensure => present,
source => 'puppet:///modules/beats_conf/heartbeat.yml',
}
logstash::configfile { 'beats':
content => 'input { beats { port => 5044 } }',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment