Issue #8200 has been updated by Rahul Gopinath.

Assignee set to Rahul Gopinath
Target version set to 3.x
Branch set to resource

The Provider xxx has not defined the 'instances' class method should be another 
bug.

Here is the pull request for split on nil.

<https://github.com/puppetlabs/puppet/pull/957>
----------------------------------------
Bug #8200: puppet resources balks on zfs and zone under Solaris 10 u9 on VMWare
https://projects.puppetlabs.com/issues/8200#change-67380

Author: Matthew Willsher
Status: Accepted
Priority: Normal
Assignee: Rahul Gopinath
Category: Solaris
Target version: 3.x
Affected Puppet version: 
Keywords: solaris,zfs,zones,zone
Branch: resource


On a dev machine running Puppet Enterprise 1.1. The version from OpenCSW 
exhibits an issue that looks the same.

    -bash-3.00$ echo $PATH
    /opt/puppet/bin:/usr/bin
    -bash-3.00$ facter
    facterversion => 1.5.8
    hardwareisa => i386
    hardwaremodel => i86pc
    hostname => salpha
    id => matt
    interfaces => lo0,e1000g0
    ipaddress => 192.168.160.241
    ipaddress_e1000g0 => 192.168.160.241
    ipaddress_lo0 => 127.0.0.1
    is_virtual => true
    kernel => SunOS
    kernelmajversion => Generic_142910-17
    kernelrelease => 5.10
    kernelversion => Generic_142910-17
    manufacturer => VMware, Inc.
    netmask => 255.255.255.0
    netmask_e1000g0 => 255.255.255.0
    netmask_lo0 => 255.0.0.0
    network_e1000g0 => 192.168.160.0
    network_lo0 => 127.0.0.0
    operatingsystem => Solaris
    operatingsystemrelease => 5.10
    path => /opt/puppet/bin:/usr/bin:/usr/sbin:/sbin
    productname => VMware Virtual Platform
    ps => ps -ef
    puppetversion => 2.6.4 (Puppet Enterprise 1.1)
    rubysitedir => /opt/puppet/lib/ruby/site_ruby/1.8
    rubyversion => 1.8.7
    serialnumber => VMware-56 4d 35 7f 95 fe 11 b6-50 e7 f5 21 f2 f6 84 c2
    sshdsakey => 
AAAAB3NzaC1kc3MAAACBALbdKv2DtOqX0+q5HrrZPzL9ecvFg33gkca4lFbCj932QbbBP+QUWqrZhg/DCY5k50mN9s4Q/THKY0FmMoust+msFoJfs90htWK9PKVTByUwr05vSsazuNYYbB6Wbx/dmmskS5DbIYg+4IXrbuPM+m7zQhOSsHRcThsNq4w2ThA1AAAAFQD/mgvjTek+K+tqX6T4jusJqYPxqwAAAIAnHtofobykikfFlHah7QzjwKz8qSWCYl5Vim7/ZBxvzp3+aAsLSSONRsGh64hMx2sLyx+/infk+rSMw6r8WrvmSjnnRDGzDi2m7kHzTd5w+bnaIMbZd3EGg/CJlYeKHY7B5CbAhw19vbQU9zrk5Oc4sIOyjyjJQeIDV8KPQH1Z8gAAAIEApY+PYUZLVJUrixs8Y3h7l4Fawr9cZc95qgKWnrjcPta6qUljUr6lyBhxwj+Be6pWWDsGqKAht02dz6Jc9J3qiB108f0GrkKRXWT9AnWPL654PuhKmwqJQKFsD1GKc2GbDmF8vu/G7M1+/XKRLml1pSBXslN2WPOBTaRGNUbK+hM=
    sshrsakey => 
AAAAB3NzaC1yc2EAAAABIwAAAIEA3Xr4L9/mkxUzOjDUJ8s3rA/Xu2UHAfQV26tjyxZn2BbyPhyFndiMRexKVZc0PhG9lziTvmIp/ij08ML57It8rq3n9B9xlGt5n2vnCSJfzffXQkRrRnGXif8OudPaWxQT8CX9PnUxahcAiG64YBoTR+6PFriM6NqaK8uyb5yo1H0=
    timezone => BST
    type => 0x1 (other)
    uniqueid => 183fbf6c
    uptime => 0:41 hours
    uptime_days => 0
    uptime_hours => 0
    uptime_seconds => 2482
    virtual => vmware
    -bash-3.00$ puppet resource zfs
    Could not run: Provider solaris has not defined the 'instances' class method
    -bash-3.00$ puppet resource zone
    /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type/zone.rb:397:in `validate': 
private method `split' called for nil:NilClass (NoMethodError)
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:1738:in `initialize'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:875:in `new'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:875:in `instances'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:865:in `collect'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:865:in `instances'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:864:in `collect'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/type.rb:864:in `instances'
    from 
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/resource/ral.rb:14:in 
`search'
    from 
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:238:in 
`search'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector.rb:58:in `search'
    from 
/opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:84:in `main'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:295:in 
`run_command'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in 
`exit_on_fail'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in 
`execute'
    from /opt/puppet/bin/puppet:4
     


-- 
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