From 8034ed81fdc41d57b3d6740667371b9bd62f671c Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Sun, 19 May 2024 11:25:06 -0600 Subject: [PATCH] Remove user/group requirements since they're present on every system anyhow --- spec/classes/smartctl_exporter_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/classes/smartctl_exporter_spec.rb b/spec/classes/smartctl_exporter_spec.rb index 2d22bc24..6a9dfd40 100644 --- a/spec/classes/smartctl_exporter_spec.rb +++ b/spec/classes/smartctl_exporter_spec.rb @@ -24,8 +24,6 @@ it { is_expected.to compile.with_all_deps } it { is_expected.to contain_file('/usr/local/bin/smartctl_exporter').with('target' => '/opt/smartctl_exporter-0.12.0.linux-amd64/smartctl_exporter') } it { is_expected.to contain_prometheus__daemon('smartctl_exporter') } - it { is_expected.to contain_user('root') } - it { is_expected.to contain_group('root') } it { is_expected.to contain_service('smartctl_exporter') } end