Closed Bug 623840 Opened 14 years ago Closed 11 years ago

puppet runners should calculate master dynamically based on IP or hostname

Categories

(Release Engineering :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Unassigned)

References

Details

(Whiteboard: [puppet])

All of our puppet instances run from hand-rolled scripts.  Rather than edit these scripts with puppet, we should just write the scripts to examine their own IP and/or hostname and determine the appropriate master from that information.  Then we'll never have slaves connecting across datacenters, and all puppet masters can safely contain definitions for all slaves, keeping the fileserver.conf files limited only to local subnets as a backup check to prevent large cross-dc file transfers.

I'm much less worried about accidentally triggering cross-dc file transfers now that I know we've been doing them constantly via NFS (bug 597912), but we should still make a good effort.

Zandr suggested that we use hostname, and that may be the easiest to portably look up in a shell script.
Whiteboard: [puppet]
Blocks: 609782
Blocks: 628313
Assignee: dustin → nobody
Priority: -- → P3
Blocks: 516808
The manifests now use sort_servers_by_group to accomplish this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.