Skip to content

Instantly share code, notes, and snippets.

@melkorm
Last active August 29, 2015 14:07
Show Gist options
  • Save melkorm/b17ad09643370e7960ec to your computer and use it in GitHub Desktop.
Save melkorm/b17ad09643370e7960ec to your computer and use it in GitHub Desktop.
Graylog2 with Vagrant & PuPHPet
# Graylog2
class { 'graylog2::repo':
version => '0.21'
} ->
class { 'graylog2::server':
password_secret => '16BKgz0Qelg6eFeJYh8lc4hWU1jJJmAgHlPEx6qkB16BKgz0Qelg6eFeJYh8lc4hWU1jJJmAgHlPEx6qkB', // needs to be atleast 64 chars long
root_password_sha2 => '8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918',
elasticsearch_cluster_name => 'graylog2',
elasticsearch_discovery_zen_ping_multicast_enabled => false,
elasticsearch_discovery_zen_ping_unicast_hosts => '127.0.0.1:9301',
elasticsearch_shards => 1,
require => [
Elasticsearch::Instance['graylog2-es'],
Class['mongodb::server'],
Class['graylog2::repo'],
],
} ->
class { 'graylog2::web':
application_secret => '16BKgz0Qelg6eFeJYh8lc4hWU1jJJmAgHlPEx6qkB16BKgz0Qelg6eFeJYh8lc4hWU1jJJmAgHlPEx6qkB',
require => Class['graylog2::server'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment