-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathctlplugin.pp
More file actions
26 lines (25 loc) · 739 Bytes
/
Copy pathctlplugin.pp
File metadata and controls
26 lines (25 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Define: supervisord::ctlplugin
#
# This define creates a ctlplugin section in supervisord.conf
#
# Sadly, I have been unable to find any documentation or mention of this stanza type
# in any of supervisord docs or code, but I am using it in production and it works.
#
#
# Documentation on parameters available at:
# http://supervisord.org/configuration.html#program-x-section-settings
#
# @param ctl_factory
# @param ensure
#
define supervisord::ctlplugin (
Optional[String] $ctl_factory = undef,
String $ensure = present,
) {
include supervisord
concat::fragment { "ctlplugin:${name}":
target => $supervisord::config_file,
content => template('supervisord/conf/ctlplugin.erb'),
order => 70,
}
}