Bug #14828
closederror regenerating policies
Description
In latest nightly (5.0.10 rc1 20190503)
I get error on regeneration of policies
Policy update process was stopped due to an error:
⇨ Policy update error for process '14394' at 2019-05-06 16:20:40
⇨ Cannot write nodes configuration
⇨ Error when executing hooks:
Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/cfengine-community/inputs.new/server-roles/1.0/component-check.cf:56:105: error: syntax error
"service[rudder_reports][service]" string => "${postgresql_service_name}"";
...] (for node(s) root)
I am not sure but there seems to be a " too much in component-check.cf
line 56: "service[rudder_reports][service]" string => "${postgresql_service_name}"";
I tried to delete but this file seems to be generated at policy generation.