summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel/manifests/clients.pp
blob: c0958b5ff21370243f3a457c677c005bee5d9d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# example hiera yaml:
#
#   stunnel:
#     clients:
#       ednp_clients:
#         thrips_9002:
#           accept_port: 4001
#           connect: thrips.demo.bitmask.i
#           connect_port: 19002
#       epmd_clients:
#         thrips_4369:
#           accept_port: 4000
#           connect: thrips.demo.bitmask.i
#           connect_port: 14369
#
# In the above example, this resource definition is called twice, with $name
# 'ednp_clients' and 'epmd_clients'
#

define site_stunnel::clients {
  create_resources(site_stunnel::client, $site_stunnel::clients[$name])
}