Bug #3944
Can't set a host type to $ipaddress
| Status: | Rejected | Start date: | 06/03/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
I’m not really sure what to make of this. I have the following stanza:
notice("ip is $ipaddress")
host{ "$fqdn":
ip => "$ipaddress",
alias => "$hostname",
}
If I stick that into my basenode (which is inherited by the nodes) I get an error about an invalid IP address and the following in my puppetd logs:
(Scope(Node[basenode])) ip is 10.41.99.102
But, if I stick that into a temp file, and call it directly with puppet, it correctly runs.
This is with the ubuntu lucid package of 0.25.4
History
Updated by seph seph almost 2 years ago
- Status changed from Unreviewed to Rejected
Actually, I think I was just being confused by #3942 and that there is no bug here.