Feature #1106
closedpuppet variable $confdir is not evaluated
Description
Attempting to build a multi-environment puppet/foreman configuration. Fails during rake:
/etc/puppet.conf:
[main]- The Puppet log directory.
- The default value is '$vardir/log'.
logdir = /var/log/puppet
- Where Puppet PID files are kept.
- The default value is '$vardir/run'.
rundir = /var/run/puppet
- Where SSL certificates are kept.
- The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
- The file in which puppetd stores a list of the classes
- associated with the retrieved configuratiion. Can be loaded in
- the separate ``puppet`` executable using the ``--loadclasses``
- option.
- The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt
- Where puppetd caches the local configuration. An
- extension indicating the cache format is added automatically.
- The default value is '$confdir/localconfig'.
localconfig = $vardir/localconfig
[master]
external_nodes = /etc/puppet/external_nodes.rb
node_terminus = exec
modulepath = $confdir/environments/$environment/modules:$confdir/modules
manifest = $confdir/manifests/unknown_environment.pp
[production]
manifest = $confdir/manifests/site.pp
[dev]
manifest = $confdir/manifests/site.pp
[qa]
manifest = $confdir/manifests/site.pp
#########
rake puppet:import:puppet_classes RAILS_ENV=production
(in /usr/share/foreman)
Evaluating possible changes to your installation
Problems were detected during the evaluation phase
Unable to find directory $confdir/environments/$environment/modules in environment master
Please fix these issues and try again
Updated by Jason Antman over 12 years ago
Sorry, but my Smart-Proxy Issue #1552 is a duplicate of this and is now closed, merged into develop. This should probably be marked as a dupe.