Darrell Fuhriman
2009-Sep-29 17:25 UTC
[Puppet Users] 0.25.x upgrade gives "Parameter notify failed"
In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), I''m now getting the following error, seemingly everywhere that notify/ require is used: For example: err: Could not run Puppet configuration client: Parameter notify failed: No title provided and title ''{"title"=>"smb", "type"=>"Service", "builtin_type"=>nil}'' is not a valid resource reference or err: Could not run Puppet configuration client: Parameter require failed: No title provided and title ''{"title"=>"/var/tmp/gwc", "type"=>"File", "builtin_type"=>nil}'' is not a valid resource reference There''s nothing particularly interesting about the manifests that I can see. Any ideas? ---- class samba::server { case $operatingsystem { centos: { $sambadir = ''/etc/samba'' package { ''samba'': ensure => installed, } service { ''smb'': ensure => running, hasrestart => true, hasstatus => true, enable => true } } } remotefile { "${sambadir}/smb.conf": source => ''samba/smb.conf'', mode => 0444, notify => Service[smb], } } --- class geoserver::server { file {''/var/lib/geoserver'': ensure => directory, mode => 0775, owner => tomcat, group => tomcat } file {''/var/lib/geoserver/gwc-conf'': ensure => directory, mode => 0775, owner => tomcat, group => tomcat, require => File[''/var/lib/geoserver''], } # cache location file {''/var/lib/geoserver/gwc'': ensure => ''/var/tmp/gwc'', require => [File[''/var/tmp/gwc''],File[''/var/lib/geoserver'']], } file {''/var/tmp/gwc'': ensure => directory, mode => 0775, owner => tomcat, group => tomcat } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Darrell Fuhriman
2009-Sep-29 18:39 UTC
[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"
On Sep 29, 2009, at 10:25, Darrell Fuhriman wrote:> In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), > I''m now getting the following error, seemingly everywhere that > notify/require is used:As an additional piece of info, 0.24.8 client continue to function as normal, even though the server is 0.25.1rc1 really scratching my head now.. d. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Nigel Kersten
2009-Sep-29 18:41 UTC
[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"
On Tue, Sep 29, 2009 at 11:39 AM, Darrell Fuhriman <darrell@garnix.org> wrote:> > > On Sep 29, 2009, at 10:25, Darrell Fuhriman wrote: > >> In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), >> I''m now getting the following error, seemingly everywhere that >> notify/require is used: > > As an additional piece of info, 0.24.8 client continue to function as > normal, even though the server is 0.25.1rc1 > > really scratching my head now..Is it that you''re using Service[smb] rather than Service[''smb''] ?> > d. > > > > >-- nigel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Darrell Fuhriman
2009-Sep-29 18:43 UTC
[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"
> Is it that you''re using Service[smb] rather than Service[''smb''] ?I thought of that, but that doesn''t seem to matter - the other example I give uses single quotes everywhere, and other failures are similar. d. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Darrell Fuhriman
2009-Sep-29 20:34 UTC
[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"
Well, I''ve tracked it down a bit further. I updated activerecord to 2.3.4 before installing puppet, since I''m using storedconfigs. If I remove this gem and leave 2.2.2 installed, everything seems to work as expected. So, tracking it down a bit further, it seems that everything works with AR <= 2.3.2 but breaks with AR >=2.3.3, whether or not storedconfigs are enabled. I guess I should open a ticket, eh? d. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---