Skip to content

Commit

Permalink
Merge pull request #1106 from shamil/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Williams authored Jan 5, 2021
2 parents 5eb4821 + a902899 commit 62cf708
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
proxy => $_proxy,
plugin_dir => $elasticsearch::real_plugindir,
plugin_path => $module_dir,
before => Service['elasticsearch'],
}
-> file { "${elasticsearch::real_plugindir}/${_module_dir}":
ensure => $_file_ensure,
Expand Down
8 changes: 7 additions & 1 deletion spec/defines/004_elasticsearch_plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,13 @@ class { 'elasticsearch': }
'Class[elasticsearch::config]'
)}

include_examples('class')
it { should contain_elasticsearch_plugin(
'head'
).that_comes_before(
'Service[elasticsearch]'
)}

include_examples 'class'
end
end
end
Expand Down

0 comments on commit 62cf708

Please sign in to comment.