forked from jewnix/splunk-spec-files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverclass.seed.xml.spec
55 lines (46 loc) · 2.13 KB
/
serverclass.seed.xml.spec
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Version 9.0.5
<!--
# This configuration is used by deploymentClient to seed a Splunk installation with applications, at startup time.
# This file should be located in the workingDir folder defined by deploymentclient.conf.
#
# An interesting fact - the DS -> DC communication on the wire also uses this XML format.
-->
<?xml version="1.0"?>
<deployment name="somename">
<!--
# The endpoint from which all apps can be downloaded. This value can be overridden by serviceClass or ap declarations below.
# In addition, deploymentclient.conf can control how this property is used by deploymentClient - see deploymentclient.conf.spec.
-->
<endpoint>$deploymentServerUri$/services/streams/deployment?name=$serviceClassName$:$appName$</endpoint>
<!--
# The location on the deploymentClient where all applications will be installed. This value can be overridden by serviceClass or
# app declarations below.
# In addition, deploymentclient.conf can control how this property is used by deploymentClient - see deploymentclient.conf.spec.
-->
<repositoryLocation>$SPLUNK_HOME/etc/apps</repositoryLocation>
<serviceClass name="serviceClassName">
<!--
# The order in which this service class is processed.
-->
<order>N</order>
<!--
# DeploymentClients can also override these values using serverRepositoryLocationPolicy and serverEndpointPolicy.
-->
<repositoryLocation>$SPLUNK_HOME/etc/myapps</repositoryLocation>
<endpoint>splunk.com/spacecake/$serviceClassName$/$appName$.tgz</endpoint>
<!--
# Please See serverclass.conf.spec for how these properties are used.
-->
<continueMatching>true</continueMatching>
<restartSplunkWeb>false</restartSplunkWeb>
<restartSplunkd>false</restartSplunkd>
<stateOnClient>enabled</stateOnClient>
<app name="appName1">
<!--
# Applications can override the endpoint property.
-->
<endpoint>splunk.com/spacecake/$appName$</endpoint>
</app>
<app name="appName2"/>
</serviceClass>
</deployment>