Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1547

PR (2311) Undefined method `groups' for nil:NilClass

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.4.2
    • Fix Version/s: PUP 3.6.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-12 to 2014-3-19, Week 2014-4-02 to 2014-4-09, Week 2014-4-09 to 2014-4-16

      Description

      Lost quite some time in a rspec-puppet issue due to this error
      Ultimately it was due to being on os x and setting operatingsystem fact to centos, making puppet unable to find providers for the user type.

           NoMethodError:
             undefined method `groups' for nil:NilClass
           # /Users/csanchez/.rvm/gems/ruby-1.9.3-p484/gems/puppet-3.4.2/lib/puppet/property/list.rb:57:in `retrieve'
           # /Users/csanchez/.rvm/gems/ruby-1.9.3-p484/gems/puppet-3.4.2/lib/puppet/property/list.rb:46:in `should'
           # /Users/csanchez/.rvm/gems/ruby-1.9.3-p484/gems/puppet-3.4.2/lib/puppet/type/user.rb:359:in `block (2 levels) in <module:Puppet>'
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  tony.vu Tony Vu
                  Reporter:
                  csanchez Carlos Sanchez
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: