Mr. Vitriol
2013-Sep-04 14:08 UTC
[Puppet Users] Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
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 <http://forge.puppetlabs.com/puppetlabs/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 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.
Cory Stoker
2013-Sep-05 00:31 UTC
Re: [Puppet Users] Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
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 <patrick.marv.bass@gmail.com> 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 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.-- 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.
William Van Hevelingen
2013-Sep-08 18:19 UTC
Re: [Puppet Users] Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
The bug is fixed in the master branch on Github. I''ll see about getting a new release on the forge. Cheers, William On Wed, Sep 4, 2013 at 5:31 PM, Cory Stoker <cory.stoker@gmail.com> wrote:> 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 <patrick.marv.bass@gmail.com> > 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 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. > > -- > 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. >-- Thanks, William -- 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.
lkorcutt@gmail.com
2013-Nov-01 20:42 UTC
Re: [Puppet Users] Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
I''m running into this with the current forge modules from puppetlabs for apache (0.9.0 )and puppet-dashboard (0.0.4). Do you know when an update will be published on the forge? Thanks On Sunday, September 8, 2013 12:19:35 PM UTC-6, blkperl wrote:> > The bug is fixed in the master branch on Github. I''ll see about getting a > new release on the forge. > > Cheers, > William > > > On Wed, Sep 4, 2013 at 5:31 PM, Cory Stoker <cory....@gmail.com<javascript:> > > wrote: > >> 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 <patrick....@gmail.com<javascript:>> >> 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 puppet-users...@googlegroups.com <javascript:>. >> > To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> > 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 puppet-users...@googlegroups.com <javascript:>. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Thanks, > William >-- 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/364fc105-1b88-41a0-91da-84c7bb0edc22%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.