bolt plan run puppet6::puppet_upgrade -i inventory.yaml --nodes puppet6_nodes
puppet6::puppet_upgrade: expects a value for parameter 'location'
groups: - name: puppet6_nodes nodes: - host-name-01 vars: location: ldn1
plan puppet6::puppet_upgrade( TargetSpec $nodes, String $location,) {
apply($nodes) { class { 'puppet6::upgrade': location => $location } }
}
plan puppet6::puppet_upgrade( TargetSpec $nodes,
) {
$targets = get_targets($nodes) $targets.each |$target| { apply($nodes) { class { 'puppet6::upgrade': location => $target.vars['location'] } } }
}
What about if puppet agent not installed on target
Is there any way we can use epp file
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-6839please 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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d09a4037-518a-4ecf-bfd1-e729485346fd%40googlegroups.com.
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMahoJtpASY9cwER1sDCWc1EcyYwKaDccJ8Yr200yJYESAbLBw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMahoJtpASY9cwER1sDCWc1EcyYwKaDccJ8Yr200yJYESAbLBw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2Bgj5d%2BiBZKAdLb4PruFF6m3dRbn%3Dzvar6HfU5Qi-%2BYovO76qQ%40mail.gmail.com.