|
7 | 7 | # $ensure - optional - defaults to 'present' |
8 | 8 | # $log_on_success - optional - may contain any combination of |
9 | 9 | # 'PID', 'HOST', 'USERID', 'EXIT', 'DURATION', 'TRAFFIC' |
| 10 | +# $log_on_success_operator - optional - defaults to '+='. This is whether or |
| 11 | +# not values specified will be add, set or remove |
| 12 | +# from the default. |
10 | 13 | # $log_on_failure - optional - may contain any combination of |
11 | 14 | # 'HOST', 'USERID', 'ATTEMPT' |
| 15 | +# $log_on_failure_operator - optional - defaults to '+='. This is whether or |
| 16 | +# not values specified will be add, set or remove |
| 17 | +# from the default. |
12 | 18 | # $service_type - optional - type setting in xinetd |
13 | 19 | # may contain any combinarion of 'RPC', 'INTERNAL', |
14 | 20 | # 'TCPMUX/TCPMUXPLUS', 'UNLISTED' |
|
56 | 62 | define xinetd::service ( |
57 | 63 | $port, |
58 | 64 | $server, |
59 | | - $ensure = present, |
60 | | - $log_on_success = undef, |
61 | | - $log_on_failure = undef, |
62 | | - $service_type = undef, |
63 | | - $service_name = $title, |
64 | | - $cps = undef, |
65 | | - $disable = 'no', |
66 | | - $flags = undef, |
67 | | - $group = 'root', |
68 | | - $groups = 'yes', |
69 | | - $instances = 'UNLIMITED', |
70 | | - $per_source = undef, |
71 | | - $protocol = 'tcp', |
72 | | - $server_args = undef, |
73 | | - $socket_type = 'stream', |
74 | | - $user = 'root', |
75 | | - $only_from = undef, |
76 | | - $wait = undef, |
77 | | - $xtype = undef, |
78 | | - $no_access = undef, |
79 | | - $access_times = undef, |
80 | | - $log_type = undef, |
81 | | - $bind = undef |
| 65 | + $ensure = present, |
| 66 | + $log_on_success = undef, |
| 67 | + $log_on_success_operator = '+=', |
| 68 | + $log_on_failure = undef, |
| 69 | + $log_on_failure_operator = '+=', |
| 70 | + $service_type = undef, |
| 71 | + $service_name = $title, |
| 72 | + $cps = undef, |
| 73 | + $disable = 'no', |
| 74 | + $flags = undef, |
| 75 | + $group = 'root', |
| 76 | + $groups = 'yes', |
| 77 | + $instances = 'UNLIMITED', |
| 78 | + $per_source = undef, |
| 79 | + $protocol = 'tcp', |
| 80 | + $server_args = undef, |
| 81 | + $socket_type = 'stream', |
| 82 | + $user = 'root', |
| 83 | + $only_from = undef, |
| 84 | + $wait = undef, |
| 85 | + $xtype = undef, |
| 86 | + $no_access = undef, |
| 87 | + $access_times = undef, |
| 88 | + $log_type = undef, |
| 89 | + $bind = undef |
82 | 90 | ) { |
83 | 91 |
|
84 | 92 | include xinetd |
|
109 | 117 | # - $only_from |
110 | 118 | # - $per_source |
111 | 119 | # - $log_on_success |
| 120 | + # - $log_on_success_operator |
112 | 121 | # - $log_on_failure |
| 122 | + # - $log_on_failure_operator |
113 | 123 | # - $cps |
114 | 124 | # - $flags |
115 | 125 | # - $xtype |
|
0 commit comments