[Pkg-puppet-devel] Bug#658750: host type cannot represent a host with more than one ip
Stephen Gran
sgran at debian.org
Sun Feb 5 19:57:44 UTC 2012
Package: puppet
Version: 2.6.2-5+squeeze3
Severity: normal
Hi,
Just as an example of how this should work, and some of the complaints
from puppet:
sgran at harris:~$ cat /etc/hosts
##
## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
127.0.0.1 localhost
172.28.17.17 harris.debian.org harris
2001:41b8:202:deb:214:22ff:fe13:492b heininen.debian.org heininen
82.195.75.98 heininen.debian.org heininen
2607:f8f0:610:4000:216:36ff:fe40:380c lotti.debian.org lotti
206.12.19.121 lotti.debian.org lotti
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
sgran at harris:~$ getent hosts heininen.debian.org
2001:41b8:202:deb:214:22ff:fe13:492b heininen.debian.org heininen
sgran at harris:~$ telnet heininen.debian.org 22
Trying 82.195.75.98...
Connected to heininen.debian.org.
sgran at harris:~$ puppet resource host heininen.debian.org
warning: Host heininen.debian.org found in both parsed and parsed; skipping the parsed version
warning: Host lotti.debian.org found in both parsed and parsed; skipping the parsed version
warning: Host localhost found in both parsed and parsed; skipping the parsed version
host { 'heininen.debian.org':
ip => '82.195.75.98',
host_aliases => ['heininen'],
target => '/etc/hosts',
ensure => 'present'
}
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/5fa082fc/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list