All,

I have this:

    #
    # External configuration data.
    #
    $config = extlookup("platform_config",
              extlookup("platform_config",
              extlookup("platform_config",
              extlookup("platform_config",
              "Unknown",
              "config/${ss_fac}/${ss_env}/${ss_clu}/${fqdn}/platform"),
              "config/${ss_fac}/${ss_env}/${ss_clu}/platform"),
              "config/${ss_fac}/${ss_env}/platform"),
              "config/${ss_fac}/platform")


... which is kinda ugly. Is there a way to wrap this up in a defintion and
return the value from the definition? As far as I know, definitions can't
return values.

Doug.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to