Issue #2949 has been reported by Dan Bode.
----------------------------------------
Bug #2949: host can be exported without ipaddress
http://projects.reductivelabs.com/issues/2949
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.1
Keywords:
Branch:
the following puppet code works:
@@host { "$fqdn":
ensure => "present",
alias => "$hostname",
}
puppet will happily store this host, despite the fact that ip address is a
required parameter.
then on collection, you see the following error:
[r...@dansrh1 manifests]# puppet collecthosts.pp --certname collect.test
notice: //Host[dansRH1.localdomain]/ensure: created
err: Got an uncaught exception of type ArgumentError: ip is a required
attribute for hosts
I assume this would also occur with any resources that have required
parameters, but I dont know of any others.
I am assuming that this is a bug (exports a bad resources which now causes an
error on every host in the network)
--
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://reductivelabs.com/redmine/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.