https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182018-10-15T13:55:41ZIssue TrackerRudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994402018-10-15T13:55:41ZAlexis Moussetalexis.mousset@rudder.io
<ul></ul><pre>
rudder verbose: P: .........................................................
rudder verbose: P: BEGIN promise 'promise_file_from_template_type_cf_131' of type "files" (pass 1)
rudder verbose: P: Promiser/affected object: '/tmp/dst'
rudder verbose: P: From parameterized bundle: file_from_template_type( {"/tmp/tpl","/tmp/dst","mustache"})
rudder verbose: P: Base context class: any
rudder verbose: P: "if" class condition: !is_jinja2.template_exists
rudder verbose: P: Stack path: /default/rudder_directives/methods/'Global configuration for all nodes/Static website'/default/Static_website/methods/'method_call'/default/file_from_template_mustache/methods/'file template mustache type'/default/file_from_template_type/files/'/tmp/dst'[1]
rudder verbose: Using literal pathtype for '/tmp/dst'
rudder verbose: Additional promise info: source path '/var/rudder/ncf/common/30_generic_methods/file_from_template_type.cf' at line 131
rudder verbose: File '/tmp/dst' exists as promised
rudder verbose: C: + promise outcome class 'promise_kept_file_from_template__tmp_dst'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_dst_kept'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_dst_ok'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_dst_not_repaired'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_dst_reached'
rudder verbose: C: + promise outcome class 'promise_kept_file_from_template__tmp_tpl__tmp_dst_mustache'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_tpl__tmp_dst_mustache_kept'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_tpl__tmp_dst_mustache_ok'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_tpl__tmp_dst_mustache_not_repaired'
rudder verbose: C: + promise outcome class 'file_from_template__tmp_tpl__tmp_dst_mustache_reached'
rudder verbose: Build file model from a blank slate (emptying)
rudder verbose: Rendering '/tmp/dst' using template '/tmp/tpl' with method 'mustache'
warning: Need to render '/tmp/dst' from mustache template '/tmp/tpl' but policy is dry-run
rudder verbose: Handling file existence constraints on '/tmp/dst'
rudder verbose: A: Promise NOT KEPT!
rudder verbose: P: END files promise (/tmp/dst)
rudder verbose: P: .........................................................
</pre> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994412018-10-15T14:02:04ZAlexis Moussetalexis.mousset@rudder.io
<ul></ul><p>Looks like the file is rendered but the outcome class is not actually updated after failed comparison.</p> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994422018-10-15T14:10:39ZAlexis Moussetalexis.mousset@rudder.io
<ul></ul><p>This is a known issue: <a class="external" href="https://tracker.mender.io/browse/CFE-2600">https://tracker.mender.io/browse/CFE-2600</a>, fixing it it should not be that hard.</p> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994432018-10-15T14:37:36ZAlexis Moussetalexis.mousset@rudder.io
<ul></ul><p>We need to backport <a class="external" href="https://github.com/cfengine/core/pull/3348">https://github.com/cfengine/core/pull/3348</a> in Rudder agents.</p> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994442018-10-15T14:59:10ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Effort required</strong> set to <i>Very Small</i></li><li><strong>Priority</strong> changed from <i>76</i> to <i>104</i></li></ul> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994452018-10-15T17:30:34ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Alexis Mousset</i></li></ul> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=994462018-10-15T17:38:29ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Pending technical review</i></li><li><strong>Assignee</strong> changed from <i>Alexis Mousset</i> to <i>Nicolas CHARLES</i></li><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/rudder-packages/pull/1695</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/rudder-packages/pull/1695">https://github.com/Normation/rudder-packages/pull/1695</a></p> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=997822018-10-26T06:30:58ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending technical review</i> to <i>Pending release</i></li></ul><p>Applied in changeset <a class="changeset" title="Fixes #13664: Mustache templating in audit mode always considers destination compliant once it ex..." href="https://issues.rudder.io/projects/rudder/repository/rudder-packages/revisions/d966b35659a36b225ee5d7be22c0f812f1145044">rudder-packages|d966b35659a36b225ee5d7be22c0f812f1145044</a>.</p> Rudder - Bug #13664: Mustache templating in audit mode always considers destination compliant once it existshttps://issues.rudder.io/issues/13664?journal_id=1006102018-11-07T15:06:26ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li></ul>This bug has been fixed in Rudder 4.1.16, 4.3.6 and 5.0.2 which were released today.
<ul>
<li>Download: <a class="external" href="https://www.rudder-project.org/site/get-rudder/downloads/">https://www.rudder-project.org/site/get-rudder/downloads/</a></li>
</ul>
<pre><code><a href="http://www.rudder-project.org/changelog-4.1#4.1.16" class="external">Changelog</a><br /> <a href="http://www.rudder-project.org/changelog-4.3#4.3.6" class="external">Changelog</a><br /> <a href="http://www.rudder-project.org/changelog-5.0#5.0.2" class="external">Changelog</a></code></pre>