Created
March 24, 2011 13:58
-
-
Save dcarley/885098 to your computer and use it in GitHub Desktop.
Puppet dynamic environments with extlookup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[puppetmasterd] | |
# 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