If you target the remote node (that doesn't have a Puppet agent) with an apply() block in a Bolt plan, the prereq apply_prep($nodes) step will install the Puppet agent binaries on that node for you. This allows you to still leverage all the functionality, without activating the agent.
Kind regards, *Kevin Reeuwijk* Principal Sales Engineer, NEMEA mobile: +31 6 272 33 55 1 [email protected] <[email protected]> | @KevinReeuwijk *Puppet <http://www.puppet.com>. The shortest path to better software.* On Tue, Feb 11, 2020 at 4:33 PM Alex Dreyer <[email protected]> wrote: > > > On Tue, Feb 11, 2020 at 7:24 AM Shirish Shukla <[email protected]> > wrote: > >> What about if puppet agent not installed on target >> Is there any way we can use epp file >> > > There are a few options > - You can target localhost for the apply to create the file locally and > then use upload_file to copy it. > - You can write a task that accepts the contents and path as a parameter > and writes the file to disk. > > >> >> On Monday, 16 September 2019 21:51:05 UTC+5:30, Andy Hall wrote: >>> >>> hey there just starting using bolt and has a simple plan which applies a >>> manifest but I'd know like to write a dynamic file from a template like epp >>> in puppet. is this possible ? I do not see anything in the docs except just >>> uploading a static file : >>> https://puppet.com/docs/bolt/latest/running_bolt_commands.html#concept-6839 >>> >>> please do let me know if this is possible - it's great being able to >>> write a manifest and templates would be the icing on the cake ! >>> >>> thanks. >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/d09a4037-518a-4ecf-bfd1-e729485346fd%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/d09a4037-518a-4ecf-bfd1-e729485346fd%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/5HOpJEVhqOQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAMahoJtpASY9cwER1sDCWc1EcyYwKaDccJ8Yr200yJYESAbLBw%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAMahoJtpASY9cwER1sDCWc1EcyYwKaDccJ8Yr200yJYESAbLBw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPqNtk_2b5V8BBgOad3aXEhC-2ghU9gyU3OJLhR_LQpotdA_ZQ%40mail.gmail.com.
