[Pkg-puppet-devel] Bug#658750: puppet: host type cannot represent a host with more than one ip
Stephen Gran
sgran at debian.org
Sun Feb 5 19:47:35 UTC 2012
Package: puppet
Version: 2.6.2-5+squeeze3
Severity: normal
Hi,
The puppet host type seems to think that all hostnames map to one and
only one ip address. This is just not true. This makes it impossible
to represent, for instance, the following:
steve at varinia:~$ getent hosts google.com
74.125.230.80 google.com
74.125.230.81 google.com
74.125.230.82 google.com
74.125.230.83 google.com
74.125.230.84 google.com
Or, the more interesting use case for me, a multi-homed host. If the
host type didn't conflate $name with the first entry after the ip, you
could kludge this with
host {
$host-ipv4:
hostname => $host,
ip => 1.2.3.4;
$host-ipv6:
hostname => $host,
ip => 2001::1;
}
But I can't even do that. I think the best thing is for ip to be
changed to be able to take an array, personally, but I'm also not picky
about how this is resolved (not an intentional pun there, sorry).
Cheers,
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages puppet depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii facter 1.5.7-3 a library for retrieving facts fro
pn libopenssl-ruby <none> (no description available)
ii libruby [libxmlrpc-r 4.5 Libraries necessary to run Ruby 1.
ii libshadow-ruby1.8 1.4.1-8 Interface of shadow password for R
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii puppet-common 2.6.2-5+squeeze3 Centralized configuration manageme
ii ruby1.8 1.8.7.302-2squeeze1 Interpreter of object-oriented scr
Versions of packages puppet recommends:
pn libaugeas-ruby1.8 <none> (no description available)
ii ruby [rdoc] 4.5 An interpreter of object-oriented
Versions of packages puppet suggests:
pn libselinux-ruby1.8 <none> (no description available)
pn puppet-el <none> (no description available)
pn vim-puppet <none> (no description available)
-- no debconf information
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20120205/a1aa83d6/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list