On Mon, 01 Nov 2010, Robert Scheer wrote:
> Is there a way to access the local configuration parameter 'server'
> within puppet? Or is there another, better solution I am missing?

See issue 2807 <http://projects.puppetlabs.com/issues/2807>.
In puppet-2.6, you can say

  $server = $settings::server

In version 0.25, you can say

  $server = inline_template("<%= Puppet.settings[:server] %>").

--apb (Alan Barrett)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to