forked from garethr/garethr-kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid specific git version, Add Class dependencies, Decouple ::config
- Loading branch information
Showing
1 changed file
with
23 additions
and
6 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 |
---|---|---|
@@ -1,8 +1,25 @@ | ||
# = Class: kibana | ||
# | ||
# Installs latest ruby implementation of kibana | ||
# | ||
# == Parameters: | ||
# | ||
# none - all config is pulled from the kibana::config class | ||
# | ||
# == Actions: | ||
# | ||
# Installs ruby kibana, edits configs, starts service | ||
# | ||
# == Requires: | ||
# | ||
# kibana::config | ||
|
||
class kibana( | ||
$git_hash = 'edb4553', | ||
){ | ||
class { 'kibana::install': } -> | ||
class { 'kibana::config': } ~> | ||
class { 'kibana::service': } -> | ||
Class['kibana'] | ||
) { | ||
Class ['kibana::install'] -> Class ['kibana::config'] | ||
Class ['kibana::config'] ~> Class ['kibana::service'] | ||
Class ['kibana::service'] -> Class['kibana'] | ||
|
||
class { 'kibana::install': } | ||
class { 'kibana::service': } | ||
} |