A developer wrote a Bolt plan that runs a script installing packages on Debian nodes, then calls an agent-based run. RHEL nodes fail with “package resource undefined” in the plan. They want one plan for both distros. Which technique harmonizes agent-based steps with script-based steps for cross-platform usage?
A newly published module has a tests/ directory with example usage files. You notice they lack any references to your environment or Hiera data. How should you leverage those .pp test files effectively?
The “prod” environment references an old major version of a core module. A dev environment references the latest major version. Some modules in dev depend on that new version, but production needs stability. The business needs a phased approach. Which advanced environment strategy satisfies both dev module dependencies and production stability?