Issue #5462 has been reported by Nan Liu.
----------------------------------------
Bug #5462: puppet inspect should record namevar
https://projects.puppetlabs.com/issues/5462
Author: Nan Liu
Status: Unreviewed
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.