Add systemd module, required by rabbitmq
[mirror/dsa-puppet.git] / 3rdparty / modules / systemd / spec / classes / tmpfiles_spec.rb
1 require 'spec_helper'
2
3 describe 'systemd::tmpfiles' do
4   context 'supported operating systems' do
5     on_supported_os.each do |os, facts|
6       context "on #{os}" do
7         let(:facts) { facts }
8
9         it { is_expected.to compile.with_all_deps }
10         it { is_expected.to create_class('systemd::tmpfiles') }
11         it { is_expected.to contain_exec('systemd-tmpfiles').with_command('systemd-tmpfiles --create') }
12       end
13     end
14   end
15 end