Cody Herriges <[email protected]> writes:
> On Jun 18, 2010, at 1:49 AM, Daniel Pittman wrote:
>
>> The assumption that the "primary" IP address exists, or that it is the one
>> that shows up with ifconfig, so a bit bogus: on a number of my hosts, for
>> example, the "primary" IP address is an additional address added by ip and
>> not
>> visible at all.
>>
>> (Assuming by "primary" you mean "the one that anything except admin tools
>> talk
>> to", in this case because they are high-availability services and all. :)
>
> Currently I can't think of a truly accurate way to guess a system's true
> "primary" address/interface.
Well, for what it is worth I think the idea that there is any possible
distinction of "primary" vs "secondary" addresses outside of the brain of the
systems administrator is kind of silly. :)
This pops up a bunch, though: recently there was talk of introducing a
"gateway" fact, because the folks who wanted it are used to the simple
situation where a machine has one address, one default route, and pretty much
nothing more.
So, often it /looks/ like there is a "primary" address, or "a" gateway, but
only because the systems that are being thought about are simple enough to
mistake that.
Mostly I want to try and make sure that these assumptions don't get too
embedded into the heart of puppet, because they encourage community modules to
make the same mistakes, and then make 'em harder to use when I try to
introduce them to our more complex networks.
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en.