Issue #5462 has been updated by Ashley Penney.

Still an issue in 3.x:

    File[hidden]: 
    !ruby/sym ctime: !ruby/sym absent
    !ruby/sym type: !ruby/sym absent
    !ruby/sym selrole: !ruby/sym absent
    !ruby/sym target: !ruby/sym absent
    !ruby/sym content: !ruby/sym absent
    !ruby/sym seltype: !ruby/sym absent
    !ruby/sym group: !ruby/sym absent
    !ruby/sym selrange: !ruby/sym absent
    !ruby/sym ensure: !ruby/sym absent
    !ruby/sym checked: 2012-07-26 12:15:39.056477 -04:00
    !ruby/sym owner: !ruby/sym absent
    !ruby/sym mtime: !ruby/sym absent
    !ruby/sym mode: !ruby/sym absent
    !ruby/sym seluser: !ruby/sym absent
----------------------------------------
Bug #5462: puppet inspect should record resource namevar
https://projects.puppetlabs.com/issues/5462#change-67706

Author: Nan Liu
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


puppet inspect should record namevar attribute:

    file {
      "hidden":
        path => "/tmp/foo",
        audit => "all",
    }

In this case the inspect report does not display the actual file path, but 
simply the resource title:

    "File[hidden]": 
      !ruby/sym seltype: !ruby/sym absent
      !ruby/sym type: !ruby/sym absent
      !ruby/sym checked: 2010-12-06 17:59:18.738253 -08:00
      !ruby/sym selrange: !ruby/sym absent
      !ruby/sym group: !ruby/sym absent
      !ruby/sym content: !ruby/sym absent
      !ruby/sym seluser: !ruby/sym absent
      !ruby/sym owner: !ruby/sym absent
      !ruby/sym target: !ruby/sym absent
      !ruby/sym selrole: !ruby/sym absent
      !ruby/sym mode: !ruby/sym absent

Also if someone changes the the file path, puppet inspect will be comparing the 
same resource title, but completely different files:

    file {
      "hidden":
        path => "/tmp/bar",
        audit => "all",
    }



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