Created
July 28, 2014 20:34
-
-
Save hunner/5a9d8cd8a6b81e64f94f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define some_define ( | |
$listening_service, | |
$haproxy_acl, | |
#... | |
) { | |
concat::fragment { "HAProxy ACL for ${listening_service} from ${name}": | |
order => "20-${listening_service}-01-acl", | |
target => '/etc/haproxy/haproxy.cfg', | |
content => " acl ${haproxy_acl}\n", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment