File: class_shared_examples.rb

package info (click to toggle)
puppet-module-voxpupuli-elasticsearch 9.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,496 kB
  • sloc: ruby: 9,906; sh: 392; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
# frozen_string_literal: true

shared_examples 'class' do
  it { is_expected.to compile.with_all_deps }
  it { is_expected.to contain_augeas('/etc/sysconfig/elasticsearch') }
  it { is_expected.to contain_file('/etc/elasticsearch/elasticsearch.yml') }
  it { is_expected.to contain_service('elasticsearch') }
end