Can I access config params like $vardir from a manifest? I would like to refer to files relative to that parameter rather than their absolute paths. (These paths will be passed to the file function or a function like it) Thanks, Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Jim
2009-Apr-15 11:47 UTC
[Puppet Users] Re: Accessing config params from within manifest?
Figured it out... On Apr 14, 6:22 pm, Jim <jcrossl...@gmail.com> wrote:> Can I access config params like $vardir from a manifest?I can call Puppet.settings.value(:vardir) from a function. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---