Skip to content

Commit

Permalink
Merge pull request #12 from NTTCom-MS/revert-11-mherre
Browse files Browse the repository at this point in the history
Revert "test"
  • Loading branch information
mherrre authored Nov 18, 2020
2 parents 2bbe2c3 + 2a20525 commit 97243ba
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#
class kibana(
$manage_config_file = true,
$manage_package = true,
$package_ensure = 'installed',
$manage_service = true,
Expand All @@ -12,21 +11,19 @@
$elasticsearch_url = 'http://localhost:9200',
) inherits kibana::params {

if($manage_config_file)
{
concat { '/etc/kibana/kibana.yml':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0644',
# notify => Class['kibana::service'],
}
concat { '/etc/kibana/kibana.yml':
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0644',
notify => Class['kibana::service'],
}

concat::fragment{ 'kibana':
order => '00',
target => '/etc/kibana/kibana.yml',
content => template("${module_name}/kibana.erb"),

concat::fragment{ 'kibana':
order => '00',
target => '/etc/kibana/kibana.yml',
content => template("${module_name}/kibana.erb"),
}
}

class { '::kibana::install': }
Expand Down

0 comments on commit 97243ba

Please sign in to comment.