Last active
December 4, 2015 16:47
-
-
Save lukeab/061e2942364c6e217c6e to your computer and use it in GitHub Desktop.
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
elasticsearch_plugins: | |
'elasticsearch/elasticsearch-cloud-aws': | |
module_dir : 'cloud-aws' | |
url : 'http://download.elasticsearch.org/elasticsearch/elasticsearch-cloud-aws/elasticsearch-cloud-aws-2.5.1.zip' | |
instances : 'es-logstash' | |
'royrusso/elasticsearch-HQ': | |
module_dir: HQ | |
instances: 'es-logstash' | |
'mobz/elasticsearch-head': | |
module_dir: head | |
instances: 'es-logstash' |
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
class software_profiles::logstash_service_profile { | |
# ELK Stack | |
class { '::elasticsearch': } | |
elasticsearch::instance { 'es-logstash': | |
} | |
create_resources('::elasticsearch::plugin', hiera('elasticsearch_plugins')) | |
include ::nginx | |
package { 'kibana': | |
ensure => installed, | |
} -> | |
nginx::resource::vhost { 'kibana': | |
ensure => present, | |
server_name => ["logs.$::domain"], | |
listen_port => 80, | |
www_root => '/usr/share/kibana', | |
} | |
} |
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
Error: Could not set content on file: can't modify frozen String |
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
==> /var/log/puppet/puppet.log <== | |
Notice: Scope(Node[default]): Location : awseuwest1 | |
Notice: Scope(Node[default]): Environment : sit | |
Notice: Scope(Node[default]): Product : dotcom | |
Notice: Scope(Node[default]): Role : logstash | |
Notice: Compiled catalog for logstash-xxxxxxxxx.sit.dotcom in environment production in 20.22 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment