Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Oh... sorry! There are things wrong in my post. The correct is...

Common.ymal

---
serpro::apache::balancer:
  "VIP00":
     stickysession:           "JSESSIONID"

serpro::apache::balancermembers:
  balancermember00:        # balancermember 1
    name_balancer:  "VIP00"
      url:            "ajp://127.0.0.1:8009"
      options:
        - "ping=5"
        - "keepalive=On"
  balancermember01:       # balancermember 2
       name_balancer:  "VIP00"
      url:            "ajp://127.0.0.2:8009"
      options:
        - "ping=5"
        - "keepalive=On"

Manifest.pp is the same

define

  define apache_wrapper::balancermember (
     $url            = "ajp://127.0.0.1:8009",
      $options        = [],
     $name_balancer  = "default",
   ){
     apache::balancermember { $title:   # it was wrong
             balancer_cluster => $name_balancer,
             url              => $url,
             options          => $options,
     }
  }

Now works... :) Thanks very much!!!