Skip to content

Instantly share code, notes, and snippets.

@dcarley dcarley/extlookup.pp
Created Mar 24, 2011

What would you like to do?
Puppet dynamic environments with extlookup
# Expect extlookup data to be parallel to manifest directory.
$extlookup_datadir = inline_template("<%= File.join(File.dirname(scope.lookupvar('settings::manifest')), '..', 'extdata') -%>")
$extlookup_precedence = ["%{fqdn}", "domain_%{domain}", "base"]
# Dynamic environments.
manifest = $confdir/environments/$environment/manifests/site.pp
modulepath = $confdir/environments/$environment/modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.