This works great thanks very much for your help. I just had to add the 
location param to the plan itself as follows:

plan profiles::puppet_upgrade(
  TargetSpec $servers,
  String $location,
) {

It works perfectly !! Could I ask if the params can be read from a file 
similar to hiera (or an inventory in ansible) rather than being passed on 
the command line ? If bolt can do that then I'd never write another 
playbook again :-)

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/81e65ade-ee01-487f-9346-d45711b290e9%40googlegroups.com.

Reply via email to