diff --git a/spec/classes/config/aclpolicyfile_spec.rb b/spec/classes/config/aclpolicyfile_spec.rb index fea408413..87436ed81 100644 --- a/spec/classes/config/aclpolicyfile_spec.rb +++ b/spec/classes/config/aclpolicyfile_spec.rb @@ -13,7 +13,7 @@ let(:params) { {} } default_acl = <<~CONFIG.gsub(%r{[^\S\n]{10}}, '') - description: 'Admin, all access' + description: Admin, all access context: project: '.*' for: @@ -31,7 +31,7 @@ --- - description: 'Admin, all access' + description: Admin, all access context: application: 'rundeck' for: diff --git a/templates/aclpolicy.epp b/templates/aclpolicy.epp index 0563c3f91..22e6432a7 100644 --- a/templates/aclpolicy.epp +++ b/templates/aclpolicy.epp @@ -1,7 +1,7 @@ <%- $_acl_policies.each |$_index, $_policy| { -%> description: <%= $_policy['description'] %> context: - <%= $_policy['context'].keys[0] %>: "<%= $_policy['context'].values[0] %>" + <%= $_policy['context'].keys[0] %>: '<%= $_policy['context'].values[0] %>' for: <%- $_policy['for'].each |$_resource, $_kind| { -%> <%= $_resource %>: