<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Merging apps from deployment server in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622734#M26412</link>
    <description>&lt;P&gt;The DS sends out apps in the one designated repository location. The repositoryLocation setting in a server class overides the default location - it does not supplement it. Therefore, only the one app in the one repository location will be deployed to a given server. There is no merger of apps in a DS, although the DS can merge the default and local directories within an app.&lt;/P&gt;&lt;P&gt;If you need to send variations of an app to two or more clients then you must maintain two full instances of the app, either under different names in a single repositoryLocation or under a single name in different repositoryLocations.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 20:15:23 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-11-30T20:15:23Z</dc:date>
    <item>
      <title>Merging apps from deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622727#M26411</link>
      <description>&lt;P&gt;Need some help with deploying and merging an app.&lt;/P&gt;
&lt;P&gt;We have a deployment server that store apps in following folders:&lt;STRONG&gt;~/etc/deployment-apps/all&lt;/STRONG&gt; This is where we have all app going out to all server.&lt;STRONG&gt;~/etc/deployment-apps/spesial&lt;/STRONG&gt; This is custom config for one server.&lt;/P&gt;
&lt;P&gt;in the &lt;STRONG&gt;all&lt;/STRONG&gt; folder we have an app like this: test.app/default/app.conf with the following content;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;LI-CODE lang="c"&gt;[ui]
is_visible = false&lt;/LI-CODE&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;in the spesial folder we have an app like this: test.app/local/app.conf with the following content&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;LI-CODE lang="c"&gt;[ui]
is_visible = true&lt;/LI-CODE&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Serverclass.conf looks like this:&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;LI-CODE lang="c"&gt;# Send all app to all servers
[serverClass:send.to.all.servers]

repositoryLocation = $SPLUNK_HOME/deployment-apps/all

restartSplunkd = true
restartIfNeeded = true
issueReload = true

whitelist.0 = *

[serverClass:send.to.all.servers:app:*]


# Send this apps only to server Mars1
[serverClass:send.to.mars1.servers]

repositoryLocation = $SPLUNK_HOME/deployment-apps/spesial

restartSplunkd = true
restartIfNeeded = true
issueReload = true

whitelist.0 = Mars1

[serverClass:send.to.mars1.servers:app:*]&lt;/LI-CODE&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Problem is that only one &lt;STRONG&gt;test.app&lt;/STRONG&gt; are sent out.&lt;BR /&gt;I would like that both are sent out and merged inn to one app with both the local and default folder (local will take presidiene)&lt;/P&gt;
&lt;P&gt;If I remove one of the apps, the other will be sendt out but not both.&lt;/P&gt;
&lt;P&gt;How can I accomplish this (without using external script etc)?&lt;/P&gt;
&lt;P&gt;Have read trough the &lt;STRONG&gt;serverclass.conf&lt;/STRONG&gt; file without seeing any easy way to solve this.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:33:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622727#M26411</guid>
      <dc:creator>jotne</dc:creator>
      <dc:date>2022-12-01T16:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Merging apps from deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622734#M26412</link>
      <description>&lt;P&gt;The DS sends out apps in the one designated repository location. The repositoryLocation setting in a server class overides the default location - it does not supplement it. Therefore, only the one app in the one repository location will be deployed to a given server. There is no merger of apps in a DS, although the DS can merge the default and local directories within an app.&lt;/P&gt;&lt;P&gt;If you need to send variations of an app to two or more clients then you must maintain two full instances of the app, either under different names in a single repositoryLocation or under a single name in different repositoryLocations.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622734#M26412</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-30T20:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Merging apps from deployment server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622742#M26414</link>
      <description>&lt;P&gt;I give you Karma even if this does not help&lt;SPAN&gt; (but give me some more understanding of how this works.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sad that there are no way to handle this type of merging since we have a rather large setup with many Tennants. Having only one master of the application and the manual config in two separate places would make it easier to maintain upgrade of apps.&lt;/P&gt;&lt;P&gt;We have one master deploy server that do send all apps to several deployment server, that then sends out app to many servers HF/UF etc.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Merging-apps-from-deployment-server/m-p/622742#M26414</guid>
      <dc:creator>jotne</dc:creator>
      <dc:date>2022-11-30T20:54:32Z</dc:date>
    </item>
  </channel>
</rss>

