Issue #3166 has been updated by Michael Stahnke.
Description updated
Status changed from Unreviewed to Closed
This works fine in 2.7.9.
[root@centos tests]# ralsh host hostname ensure=present ip=127.0.0.3
dnsdomainname: Unknown host
notice: /Host[hostname]/ensure: created
host { 'hostname':
ensure => 'present',
ip => '127.0.0.3',
target => '/etc/hosts',
}
[root@centos tests]# cat /etc/hosts
# HEADER: This file was autogenerated at Sat Jan 21 09:36:31 -0800 2012
# HEADER: by puppet. While it can still be managed manually, it
# HEADER: is definitely not recommended.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 centos5-64 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.3 hostname
[root@centos tests]#
Closing.
----------------------------------------
Bug #3166: Ralsh throws an error in querying/modifying existing host
https://projects.puppetlabs.com/issues/3166
Author: Jesse Wolfe
Status: Closed
Priority: Normal
Assignee:
Category: ralsh
Target version:
Affected Puppet version: 0.25.4
Keywords: training_bugs
Branch:
<pre>$ ralsh host hostname ensure=present ip=127.0.0.3
err: Got an uncaught exception of type NoMethodError: undefined method `join'
for nil:NilClass
</pre>
If there are changes, those changes fail.
--
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.