Issue #11369 has been updated by Garrett Honeycutt.
That's not possible to infer what the name is based on an arbitrary title.
However, as we discussed in class, the output should reflect that the name
attribute has been set.
So the output should look like the following, which would allow you to take the
output and create a valid manifest.
<pre>
[root@puppet ~]# puppet resource package apache name=httpd
package { 'apache':
ensure => '2.2.3-53.el5.centos',
name => 'httpd',
}
</pre>
----------------------------------------
Bug #11369: puppet resource returns title and not name
https://projects.puppetlabs.com/issues/11369
Author: Garrett Honeycutt
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.6
Keywords:
Branch:
This was tested on CentOS 5.7 using Puppet Enterprise 2.0
This lists the package as apache and if you copy and paste this into a manifest
and run it, then it would fail.
<pre>
[root@puppet ~]# puppet resource package apache name=httpd
package { 'apache':
ensure => '2.2.3-53.el5.centos',
}
</pre>
People expect the following
<pre>
[root@puppet ~]# puppet resource package apache name=httpd
package { 'httpd':
ensure => '2.2.3-53.el5.centos',
}
</pre>
--
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.