Created
January 21, 2011 13:56
-
-
Save elmer/789703 to your computer and use it in GitHub Desktop.
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
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
% puppet --version | |
2.6.4 | |
% cat puppet.conf | |
[main] | |
confdir=/home/elmer/puppet/main | |
vardir=$confdir/var | |
templatedir=$confdir/templates | |
[development] | |
confdir=/home/elmer/puppet/dev | |
templatedir=$confdir/templates-dev | |
% puppet -dv --config puppet.conf test.pp --configprint confdir | |
/home/elmer/puppet/main | |
% puppet -dv --config puppet.conf test.pp --configprint confdir --environment development | |
/home/elmer/puppet/dev | |
% puppet -dv --config puppet.conf test.pp --configprint templatedir | |
/home/elmer/puppet/main/templates | |
% puppet -dv --config puppet.conf test.pp --configprint templatedir --environment development | |
/home/elmer/puppet/main/templates-dev | |
* I am expecting /home/elmer/puppet/dev/templates-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment