Agustin Horischnik
2014-Mar-14 12:31 UTC
[Puppet Users] Concat function not found after switching to dynamic environments
I just switched to using environments more or less as described in http://puppetlabs.com/blog/git-workflow-and-puppet-environments and now puppet agent --test on a previously working node fails with... Info: Retrieving plugin Info: Loading facts in /var/lib/puppet/lib/facter/pip_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/last_run.rb Info: Loading facts in /var/lib/puppet/lib/facter/python_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/virtualenv_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/lib/puppet/lib/facter/nodejs_latest_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/nodejs_stable_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppi_projects.rb Info: Loading facts in /var/lib/puppet/lib/facter/nodejs_installed_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown function concat at /etc/puppet/environments/testing/modules/gi/manifests/inst.pp:104 on node france-4.kimsufi.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run My puppet.conf in the master looks like this: ... [main] logdir = /home/log/puppet #changed var to home vardir = /var/lib/puppet ssldir = /var/lib/puppet/ssl rundir = /var/run/puppet factpath = $vardir/lib/facter templatedir = $confdir/templates hiera_config = $confdir/hiera.yaml [master] environment = production manifest = $confdir/environments/$environment/manifests/site.pp manifestdir = $confdir/environments/$environment/manifests modulepath = $confdir/environments/$environment/modules tamplatedir = $confdir/environments/$environment/templates ... Both master and agent puppet version is 3.4.3. stdlib is installed in /etc/puppet/environments/testing/modules/stdlib Any ideas what could I be doing wrong? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c24fa1d3-c999-481e-932a-72ef069496dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.