From abc27c3bf46f641d6ae0b5b8ae535017edc0c57b Mon Sep 17 00:00:00 2001 From: Steffen Zieger Date: Thu, 23 May 2024 15:49:04 +0200 Subject: [PATCH] drop tag from concat_{file,fragment}, fixes #304 --- manifests/client/config/user.pp | 2 -- spec/defines/client/config/user_spec.rb | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manifests/client/config/user.pp b/manifests/client/config/user.pp index a9425b05..e61c6469 100644 --- a/manifests/client/config/user.pp +++ b/manifests/client/config/user.pp @@ -74,11 +74,9 @@ ensure => $ensure, owner => $user, mode => $ssh_config_default_mode, - tag => $name, } } concat_fragment { $name: - tag => $name, content => template("${module_name}/ssh_config.erb"), target => $_target, } diff --git a/spec/defines/client/config/user_spec.rb b/spec/defines/client/config/user_spec.rb index b40b27d7..598f06a4 100644 --- a/spec/defines/client/config/user_spec.rb +++ b/spec/defines/client/config/user_spec.rb @@ -57,8 +57,8 @@ end it { - is_expected.to contain_concat_file(target).with(ensure: 'present', tag: title) - is_expected.to contain_concat_fragment(title).with(tag: title, target: target) + is_expected.to contain_concat_file(target).with(ensure: 'present') + is_expected.to contain_concat_fragment(title).with(target: target) } end # describe 'with a user provided target'