Issue #1866 has been updated by Ian Turner.

Wolfgang,

What you are proposing is very different from the proposal in this Wishlist 
entry. Also, your request would require major changes to the existing Puppet 
paradigm. If the ability to combine manifests from multiple sources is very 
important to you, and you are willing to dedicate a lot of time and money to 
that feature, then I would suggest you open a new Feature request and/or get in 
touch with Reductive Labs for paid work.

Cheers,

--Ian
----------------------------------------
Feature #1866: Support for specification of multiple servers
http://projects.reductivelabs.com/issues/1866

Author: Ian Turner
Status: Accepted
Priority: Normal
Assigned to: 
Category: plumbing
Target version: 0.26.0
Complexity: Medium
Affected version: 0.24.7
Keywords: load balanced, multiple masters, high availability


At the moment it is only possible to tell puppetd about one puppetmaster: 
Engaging multiple servers requires load balancing equipment such as that 
employed by the reporter of Feature #1557. The simplest (for administrators) 
way to address this issue is to enable round-robin server access within puppetd 
itself. This is the technique employed extremely effectively in openvpn.

I propose two configuration changes: The "server" directive should accept a 
comma-seperated list of servers, and a new "randomserver" boolean directive 
indicates how the server list is traversed.

Pseudocode to be executed at the start of each puppet run:
<pre>
# if randomserver and lastserver = NIL
  # serverlist <- rotateleft(serverlist, rand(length(serverlist))
# nextserver <- NIL
# trialcount <- length(serverlist)
# loop until nextserver ≠ NIL
  # trialserver <- first(serverlist)
  # if retrievecatalogok(trialserver)
    # nextserver <- trialserver
  # else
    # server <- rotateleft(server, 1)
    # trialcount <- trialcount - 1
    # if trialcount = 0
      # error("no working servers")    
# lastserver <- nextserver
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to