Look at the apache::vhost definition. It looks to me that "template" is no longer a parameter to the defined type. Since this looks like puppetlabs-dashboard I would check out the puppetlabs-apache module to find the apache::vhost defined type in puppetlabs-apache/manifest/vhost.pp. If the parameter is not declared in the type then you will need to remove that line and figure out what you do need to declare in passenger.pp for the apache::vhost resource. It looks to me like $template was a parameter in older versions of that module (0.4.0) but is now gone in the current version.
HTH On Wed, Sep 4, 2013 at 8:08 AM, Mr. Vitriol <[email protected]> wrote: > Hi, > I am new to the job and forum. I installed puppet and puppetmaster and set > up my first dependencies acording to a manual that we have here in our > company. Everything works fine and I can set up new nodes with several > modules to choose from. Unfortunatley the Dashboard gives me errors instead > of starting correctley. > > Here the message: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Invalid parameter template at > /etc/puppet/modules/dashboard/manifests/passenger.pp:48 on node > puppet-master.defaultdomain > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > The relevant passage from the passenger is: > > # Class: dashboard::passenger > # > # This class configures parameters for the puppet-dashboard module. > # > # Parameters: > # [*dashboard_site*] > # - The ServerName setting for Apache > # > # [*dashboard_port*] > # - The port on which puppet-dashboard should run > # > # [*dashboard_config*] > # - The Dashboard configuration file > # > # [*dashboard_root*] > # - The path to the Puppet Dashboard library > # > # Actions: > # > # Requires: > # > # Sample Usage: > # > class dashboard::passenger ( > $dashboard_site, > $dashboard_port, > $dashboard_config, > $dashboard_root > ) inherits dashboard { > > require ::passenger > include apache > > file { '/etc/init.d/puppet-dashboard': > ensure => absent, > } > > file { 'dashboard_config': > ensure => absent, > path => $dashboard_config, > } > > apache::vhost { $dashboard_site: > port => $dashboard_port, > priority => '50', > docroot => "${dashboard_root}/public", > template => 'dashboard/passenger-vhost.erb', > } > } > > That is the default version, since I didn't add anything. > > I hope someone can help me with this, google wasn't able to. > > Thanks in advance. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
