mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-10 14:51:43 +00:00
style(inspec): fix whitespace
This commit is contained in:
parent
2bd3ef9a18
commit
1df9861084
2 changed files with 7 additions and 7 deletions
|
@ -24,10 +24,10 @@ control 'TEMPLATE.config.file' do
|
|||
# rubocop:disable Lint/RedundantCopDisableDirective
|
||||
# rubocop:disable Layout/LineLength
|
||||
should include(
|
||||
'"tofs": {"files_switch": ["any/path/can/be/used/here", "id", '\
|
||||
'"roles", "osfinger", "os", "os_family"], "source_files": '\
|
||||
'{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], '\
|
||||
'"TEMPLATE-subcomponent-config-file-file-managed": '\
|
||||
'"tofs": {"files_switch": ["any/path/can/be/used/here", "id", ' \
|
||||
'"roles", "osfinger", "os", "os_family"], "source_files": ' \
|
||||
'{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], ' \
|
||||
'"TEMPLATE-subcomponent-config-file-file-managed": ' \
|
||||
'["subcomponent-example.tmpl.jinja"]}'
|
||||
)
|
||||
# rubocop:enable Layout/LineLength
|
||||
|
|
|
@ -10,14 +10,14 @@ control 'TEMPLATE.subcomponent.config.file' do
|
|||
its('mode') { should cmp '0644' }
|
||||
its('content') do
|
||||
should include(
|
||||
'# File managed by Salt at '\
|
||||
'<salt://TEMPLATE/subcomponent/config/files/default/'\
|
||||
'# File managed by Salt at ' \
|
||||
'<salt://TEMPLATE/subcomponent/config/files/default/' \
|
||||
'subcomponent-example.tmpl.jinja>.'
|
||||
)
|
||||
end
|
||||
its('content') do
|
||||
should include(
|
||||
'This is another subcomponent example file from SaltStack '\
|
||||
'This is another subcomponent example file from SaltStack ' \
|
||||
'template-formula.'
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue