recommit for updates in build 37
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
<span class='name'>reqpackages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'alloy'</tt>)</em>
|
||||
@@ -131,7 +131,7 @@
|
||||
<span class='name'>pkg_ensure</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'latest'</tt>)</em>
|
||||
@@ -149,7 +149,7 @@
|
||||
<span class='name'>ay_loki_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'https://loki.example.net/loki/api/v1/push'</tt>)</em>
|
||||
@@ -167,10 +167,10 @@
|
||||
<span class='name'>ay_loki_username</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>''</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'loki_user'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
@@ -185,10 +185,10 @@
|
||||
<span class='name'>ay_loki_userpass</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>''</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'loki_pass'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
@@ -203,7 +203,7 @@
|
||||
<span class='name'>ay_manage_loki</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>boolean</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
@@ -221,7 +221,7 @@
|
||||
<span class='name'>ay_manage_prom</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>boolean</tt>)</span>
|
||||
<span class='type'>(<tt>Boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
@@ -239,7 +239,7 @@
|
||||
<span class='name'>ay_prom_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'https://prometheus.example.net/api/v1/write'</tt>)</em>
|
||||
@@ -257,12 +257,17 @@
|
||||
<span class='name'>ay_log_targets</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
<span class='type'>(<tt>Array</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>['/var/log/messages','/var/log/secure',]</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the logging targets</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -276,7 +281,6 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
@@ -305,44 +309,39 @@
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45</pre>
|
||||
43</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 14</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 15</span>
|
||||
|
||||
class cd_alloy::params (
|
||||
|
||||
$reqpackages = 'alloy',
|
||||
$pkg_ensure = 'latest',
|
||||
String $reqpackages = 'alloy',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
# loki
|
||||
$ay_manage_loki = true,
|
||||
$ay_loki_url = 'https://loki.example.net/loki/api/v1/push',
|
||||
$ay_loki_username = '',
|
||||
$ay_loki_userpass = '',
|
||||
$ay_log_targets = ['/var/log/messages','/var/log/secure',],
|
||||
String $ay_manage_loki = true,
|
||||
String $ay_loki_url = 'https://loki.example.net/loki/api/v1/push',
|
||||
String $ay_loki_username = 'loki_user',
|
||||
String $ay_loki_userpass = 'loki_pass',
|
||||
Array $ay_log_targets = ['/var/log/messages','/var/log/secure',],
|
||||
|
||||
# prometheus
|
||||
$ay_manage_prom = true,
|
||||
$ay_prom_url = 'https://prometheus.example.net/api/v1/write',
|
||||
Boolean $ay_manage_prom = true,
|
||||
String $ay_prom_url = 'https://prometheus.example.net/api/v1/write',
|
||||
|
||||
) {
|
||||
# service
|
||||
$ay_service = 'alloy'
|
||||
|
||||
# service
|
||||
$ay_service = 'alloy'
|
||||
|
||||
# dirs
|
||||
$ay_main_dir = '/etc/alloy'
|
||||
|
||||
# files
|
||||
$ay_main_file = "${ay_main_dir}/config.alloy"
|
||||
# dirs
|
||||
$ay_main_dir = '/etc/alloy'
|
||||
|
||||
# files
|
||||
$ay_main_file = "${ay_main_dir}/config.alloy"
|
||||
|
||||
# includes must be last
|
||||
include cd_alloy::main::config
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user