* Daniel Maher <dma at witbe.net> [2010/09/23 18:36]:
> Consider :
> 
> s...@abc$ facter | grep domain
> domain => abc.dom.ain
> 
> s...@xyz$ facter | grep domain
> domain => xyz.dom.ain
>
> Thus i would like a template "resolv.conf.erb" :
> 
> search <%= site_name =>.dom.ain

Why not use:

  search <%= domain %>

?

-- 
Language is not neutral. It is not merely a vehicle which carries
ideas.  It is itself a shaper of ideas.
    -- Dale Spender

-- 
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