On Thu, Apr 28, 2011 at 2:24 PM, Jan <[email protected]> wrote: > is there a simple way to fetch the domain name (e.g. test-domain.tld) from > a string variable (e.g. host-internal.test-domain.tld)? >
Directly use the domain fact from facter or: http://docs.puppetlabs.com/references/latest/function.html#split -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
