0.25.x upgrade gives "Parameter notify failed"

16 views
Skip to first unread message

Darrell Fuhriman

unread,
Sep 29, 2009, 1:25:10 PM9/29/09
to puppet...@googlegroups.com
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
  }
}


Darrell Fuhriman

unread,
Sep 29, 2009, 2:39:32 PM9/29/09
to puppet...@googlegroups.com

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.

Nigel Kersten

unread,
Sep 29, 2009, 2:41:21 PM9/29/09
to puppet...@googlegroups.com
Is it that you're using Service[smb] rather than Service['smb'] ?



>
> d.
>
>
> >
>



--
nigel

Darrell Fuhriman

unread,
Sep 29, 2009, 2:43:42 PM9/29/09
to puppet...@googlegroups.com
> 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.

Darrell Fuhriman

unread,
Sep 29, 2009, 4:34:20 PM9/29/09
to puppet...@googlegroups.com
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.

Reply all
Reply to author
Forward
0 new messages