Skip to content

Commit

Permalink
drop tag from concat_{file,fragment}, fixes #304
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed May 23, 2024
1 parent 665feba commit abc27c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions manifests/client/config/user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
4 changes: 2 additions & 2 deletions spec/defines/client/config/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit abc27c3

Please sign in to comment.