Brad
2013-Jul-24 17:36 UTC
[Puppet Users] mcollective puppet module: not pulling in specified parameters
Is it okay to ask questions about the mcollective puppet module by puppetlabs here? If so, I''m getting this error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mcollective/server.cfg.erb: Filepath: /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb Line: 67 Detail: Could not find value for ''mc_topicprefix'' at 2:/usr/local/puppet/environments/development/modules/mcollective/templates/server.cfg.erb This is how it''s defined in the server template: templates/server.cfg.erb: # Basic stuff topicprefix = <%= mc_topicprefix %> So, I checked to make sure it was defined in params: manifests/params.pp class mcollective::params { $mc_topicprefix = ''/topic/'' So I checked to make sure params was inherited: manifests/server/config.pp class mcollective::server::config( $config_file, $config, $server_config_owner = $mcollective::params::server_config_owner, $server_config_group = $mcollective::params::server_config_group ) inherits mcollective::params { This is in my server''s .pp file: class { ''mcollective'': version => ''present'', server => true, server_config => template(''mcollective/server.cfg.erb''), server_config_file => ''/etc/mcollective/server.cfg'', client => ''false'', client_config => template(''mcollective/client.cfg.erb''), client_config_file => ''/home/mcollective/.mcollective'', stomp_server => ''XXXXXXXXXXXXX'', mc_security_provider => ''XXX'', mc_security_psk => ''XXXXXXXXXXXXXXXXX'', } Any thoughts on next steps for troubleshooting? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.