We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5eb4821 + a902899 commit 62cf708Copy full SHA for 62cf708
manifests/plugin.pp
@@ -129,6 +129,7 @@
129
proxy => $_proxy,
130
plugin_dir => $elasticsearch::real_plugindir,
131
plugin_path => $module_dir,
132
+ before => Service['elasticsearch'],
133
}
134
-> file { "${elasticsearch::real_plugindir}/${_module_dir}":
135
ensure => $_file_ensure,
spec/defines/004_elasticsearch_plugin_spec.rb
@@ -294,7 +294,13 @@ class { 'elasticsearch': }
294
'Class[elasticsearch::config]'
295
)}
296
297
- include_examples('class')
+ it { should contain_elasticsearch_plugin(
298
+ 'head'
299
+ ).that_comes_before(
300
+ 'Service[elasticsearch]'
301
+ )}
302
+
303
+ include_examples 'class'
304
end
305
306
0 commit comments