voxpupuli / puppet-rundeck

Module for managing the installatation and configuration of the rundeck orchestration tool
https://forge.puppet.com/puppet/rundeck
MIT License
39 stars 130 forks source link

Fix rubocop issues with override_template MR #462

Closed josecastroleon closed 3 years ago

josecastroleon commented 3 years ago

Signed-off-by: Jose Castro Leon jose.castro.leon@cern.ch

Pull Request (PR) description

In the MR regarding the override_template parameter, it seems that I introduced an issue that our local rubocop CI founds. This is just to avoid such issue and prevent CI jobs to fail.

This Pull Request (PR) fixes the following issues

RuboCop failed! Running RuboCop... Inspecting 29 files ...C......................... Offenses: spec/classes/config_spec.rb:67:61: C: Layout/SpaceInsideBlockBraces: Space missing inside }. let(:params) { { rdeck_override_template: template }} ^ spec/classes/config_spec.rb:69:52: C: Layout/SpaceInsideBlockBraces: Space missing inside }. it { is_expected.to contain_file(overrides)} ^ 29 files inspected, 2 offenses detected