https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182017-09-29T09:02:59ZIssue TrackerRudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=824352017-09-29T09:02:59ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Subject</strong> changed from <i>Node properties syntaxe is not the same for Windows agent</i> to <i>Node properties syntax is not the same for Windows agent</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=826552017-10-17T08:42:29ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul><li><strong>Severity</strong> set to <i>Major - prevents use of part of Rudder | no simple workaround</i></li><li><strong>User visibility</strong> set to <i>Getting started - demo | first install | level 1 Techniques</i></li><li><strong>Priority</strong> changed from <i>0</i> to <i>70</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=826792017-10-18T08:26:07ZFrançois ARMANDfrancois.armand@rudder.io
<ul><li><strong>File</strong> <a href="/attachments/1277">IMG_20171017_121851.jpg</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1277/IMG_20171017_121851.jpg">IMG_20171017_121851.jpg</a> added</li></ul><p>So, this one is not trivial, but we have a path towards resolution.</p>
<p>There is 3 kind of files to consider for that: <br />- 1/ DSC library files => nothing to do, it's not exposed to user and we can use native syntaxe<br />- 2/ directive parameter => they need to be translated to DSC syntaxe for DSC-agent based nodes<br />- 3/ technique editor => we need to create the correct call when we generate .cf or .ps1 files.</p>
<p>The real blocker for now is 3/ because for now, we don't analyse at all technique editor parameters and we just output strings. <br />Some requirments from an architectural point of view: <br />- we must not write the kind of parsing / analyse at several places ; <br />- it <strong>is</strong> a parer/compiler problem, no sed or regex to handle it, please.</p>
<p>So, this is the envision solution for now: See attached <img src="https://issues.rudder.io/attachments/download/1277/IMG_20171017_121851.jpg" alt="" loading="lazy" /></p>
<p>- 1/ create or extend Rudder compiler which is able to recognize ${node.properties[...]} to add a rewrite rule function of the agent kind<br />- 2/ use it for directive as it is already done in policy generation<br />- 3/ in Rudder, add a REST endpoint which accepts a technique editor JSON description of a technique and create a .ps1 from it (and so remove the python part doing that today). <br />- 4/ extends that endpoint to add technique parameter analysis and write the correct output. <br />- 5/ profit by extending that endpoint to also manage .cf and metadata.xml generation (but that will be an other ticket).</p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=828062017-10-22T21:29:15ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Target version</strong> changed from <i>4.2.1</i> to <i>4.2.2</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=835462017-10-31T10:06:40ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul><li><strong>Assignee</strong> set to <i>François ARMAND</i></li><li><strong>Priority</strong> changed from <i>70</i> to <i>69</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=843442017-11-08T15:48:47ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Target version</strong> changed from <i>4.2.2</i> to <i>4.2.3</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=845342017-11-14T00:17:30ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> changed from <i>François ARMAND</i> to <i>Vincent MEMBRÉ</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=845352017-11-14T00:18:14ZVincent MEMBRÉvme@rudder.io
<ul></ul><p>Work in progess here: <a class="external" href="https://github.com/VinceMacBuche/rudder/commit/93b5cae99f75a165091a17d83341e238be46ae79">https://github.com/VinceMacBuche/rudder/commit/93b5cae99f75a165091a17d83341e238be46ae79</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=845642017-11-14T17:39:19ZVincent MEMBRÉvme@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>Vincent MEMBRÉ</i> to <i>François ARMAND</i></li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=845862017-11-15T22:54:59ZVincent MEMBRÉvme@rudder.io
<ul></ul><p>Work in progess here: <a class="external" href="https://github.com/VinceMacBuche/rudder/commit/44c679093eaa30c4338848db5ab9c6d28f73742e">https://github.com/VinceMacBuche/rudder/commit/44c679093eaa30c4338848db5ab9c6d28f73742e</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=846172017-11-16T23:35:37ZVincent MEMBRÉvme@rudder.io
<ul></ul><p>Work in progess here: <a class="external" href="https://github.com/VinceMacBuche/rudder/commit/bbfb6aecc7f2ef8460d5161d03d86053161d2865">https://github.com/VinceMacBuche/rudder/commit/bbfb6aecc7f2ef8460d5161d03d86053161d2865</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=846192017-11-17T00:13:14ZVincent MEMBRÉvme@rudder.io
<ul></ul><p>Work in progess here: <a class="external" href="https://github.com/VinceMacBuche/rudder/commit/e6f91edfa3ad110ec61ea427c301a749c4fa3a71">https://github.com/VinceMacBuche/rudder/commit/e6f91edfa3ad110ec61ea427c301a749c4fa3a71</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=846572017-11-19T22:22:36ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-16 priority-default closed parent" href="/issues/11749">User story #11749</a>: Add logic to generate ncf Technique files into Rudder</i> added</li></ul> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=846582017-11-19T22:23:25ZVincent MEMBRÉvme@rudder.io
<ul></ul><p>Work in progess here: <a class="external" href="https://github.com/VinceMacBuche/rudder/commit/ec9f3973f284f5503a95103c83f7ada6ddd41966">https://github.com/VinceMacBuche/rudder/commit/ec9f3973f284f5503a95103c83f7ada6ddd41966</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=847732017-11-24T15:48:42ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/rudder/pull/1795</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/rudder/pull/1795">https://github.com/Normation/rudder/pull/1795</a></p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=847752017-11-24T15:59:57ZVincent MEMBRÉvme@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 #11445: Node properties syntax is not the same for Windows agent" href="https://issues.rudder.io/projects/rudder/repository/rudder/revisions/596d3e23ffefae1a7791e4e02bb6e987ca4f5141">rudder|596d3e23ffefae1a7791e4e02bb6e987ca4f5141</a>.</p> Rudder - Bug #11445: Node properties syntax is not the same for Windows agenthttps://issues.rudder.io/issues/11445?journal_id=859092017-12-11T16:07:00ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li><li><strong>Priority</strong> changed from <i>69</i> to <i>68</i></li></ul><p>This bug has been fixed in Rudder 4.2.3 which was released today.</p>
<ul>
<li>4.2.3: <a href="http://www.rudder-project.org/pipermail/rudder-announce/2017-December/000259.html" class="external">Announce</a> <a href="http://www.rudder-project.org/changelog-4.2#4.2.3" class="external">Changelog</a></li>
<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>