yeah that's the magic I had in mind. <@U05JN1U6E66...
# bolt
b
yeah that's the magic I had in mind. @Vladyslav Androshchuk what kind of task did you try to run?
v
Running
Bolt
plan on the target Windows node with:
Copy code
$targets.apply_prep

apply($target) {
  include "node::${class_name}"
}
Fail only after:
Copy code
package { 'ruby':
  ensure          => '3.3.0.1',
  install_options => ['--params', '"/NoPath"'],
}
This
package
adds installed ruby to the Windows path variable event with
install_options => ['--params', '"/NoPath"']
Text run of
bolt plan run some_plan::apply -t node
will fail, because Bolt truing to run puppet using Path configured ruby
And I assume, it can’t find it (of course)