Issue #4383 has been updated by James Turnbull.

Status changed from Investigating to Closed

Closed this in favour of #4573.
----------------------------------------
Bug #4383: undefined method `error'
http://projects.puppetlabs.com/issues/4383

Author: Alexander Kriventsov
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 2.6.1
Affected version: 2.6.0
Keywords: 
Branch: 


Hello. 
I'm trying to update my installation of puppet to 2.6.0. And I have error:
err: /Stage[main]/Snmpd/Service[snmpd]: Could not evaluate: undefined method 
`error' for #<Puppet::Type::Service::ProviderFreebsd:0x80441e450>
I'm using puppet 2.6.0, facter 1.5.7 and FreeBSD 8.1-RELEASE.
In my module I have
        $pkg_name = "net-snmp"

        package {"${pkg_name}":
                ensure          => present,
                provider        => freebsd,
                source          => "${pkgs_site}/${pkg_name}.tbz",
        }

        service {"snmpd":
                ensure  => running,
                enable  => true,
                require => Package["$pkg_name"],
                hasstatus => true;
        }

        file { "/usr/local/etc/snmp":
                        ensure  => directory,
                        owner   => "root",
                        group   => "wheel",
                        mode    => 0750,
                        backup  => false;
              "/usr/local/etc/snmp/snmpd.conf":
                        owner   => "root",
                        group   => "wheel",
                        mode    => 0440,
                        source  => "puppet:///snmpd/$snmpd_template/snmpd.conf",
                        notify  => Service["snmpd"],
                        backup  => false;
        }
let me know if you need any additional information.
Also I can give access to my test box where you can reproduce this problem.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to