Custom facts is a good keyword, and you can get the same effect easier: FACTER_param1=foo FACTER_param2=bar puppet apply /my/manifest.pp
The "facts" $::param1 and $::param2 will be available to puppet. Note that it is likely preferable to write an actual bash script instead of a puppet manifest for this. The whole approach sounds as if you're using puppet in a way that doesn't cater to its strengths, and hempers you with some of its weeknesses. HTH, Felix On 12/09/2013 10:29 PM, Jake Lundberg wrote: > > You could create your own custom fact and use that via command line. > See: > http://www.practicalclouds.com/content/guide/converting-user-data-arguments-facts. > It's not a perfect example, but does have some logic for parsing > arguments. -- 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/52ADE126.4020701%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
