<?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: Deployment Server with multiple repository locations using repositoryLocation= in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-with-multiple-repository-locations-using/m-p/13946#M267</link>
    <description>&lt;P&gt;UPDATED
Ended up changing the configuration once again. Removed the &lt;CODE&gt;filterType=&lt;/CODE&gt; and &lt;CODE&gt;blacklist=&lt;/CODE&gt; stanzas all together to get the configuration working properly.&lt;/P&gt;

&lt;P&gt;I used the &lt;CODE&gt;filterType=blacklist&lt;/CODE&gt; stanza which worked but ended up breaking the &lt;CODE&gt;machineTypes&lt;/CODE&gt; filter further into the configuration. &lt;/P&gt;

&lt;P&gt;Upon removing &lt;CODE&gt;filterType=blacklist&lt;/CODE&gt; and &lt;CODE&gt;blacklist.0=*&lt;/CODE&gt; the clients are properly parsing through the serverclass.conf file and receiving the proper apps and configurations for those apps.&lt;/P&gt;

&lt;P&gt;So my configuration ends up as below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[serverClass:aa]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
whitelist.0=aa
[serverClass:aa:app:SplunkLightForwarder]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
stateOnClient = enabled
restartSplunkd = true
[serverClass:aa:app:sample_app]
stateOnClient = disabled
[serverClass:aa:app:gettingstarted]
stateOnClient = disabled
[serverClass:aa:app:windows]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
machineTypes = windows-intel,windows-x64
restartSplunkd = true
[serverClass:aa:app:unix]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
machineTypes = linux-i686,linux-x86_64,freebsd-i386,sunos-sun4u
restartSplunkd = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 May 2010 04:40:50 GMT</pubDate>
    <dc:creator>JHill</dc:creator>
    <dc:date>2010-05-21T04:40:50Z</dc:date>
    <item>
      <title>Deployment Server with multiple repository locations using repositoryLocation=</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-with-multiple-repository-locations-using/m-p/13945#M266</link>
      <description>&lt;P&gt;Trying to configure a deployment server to support multiple organizations. I have created a directory structure within deployment-apps for this purpose.&lt;/P&gt;

&lt;P&gt;I have a serverclass.conf file which should support this structure using &lt;CODE&gt;repositoryLocation=&lt;/CODE&gt; but it doesn't seem to be working correctly as my test client is not receiving the proper configuration files.&lt;/P&gt;

&lt;P&gt;serverclass.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[global]
stateOnClient = enabled
blacklist.0=*
continueMatching = true

[serverClass:aa]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
blacklist.0=*
whitelist.0=aa
[serverClass:aa:app:SplunkLightForwarder]
stateOnClient = enabled
restartSplunkd = true
[serverClass:aa:app:sample_app]
stateOnClient = disabled
[serverClass:aa:app:gettingstarted]
stateOnClient = disabled
[serverClass:aa:app:windows]
machineTypes = windows-intel,windows-x64
restartSplunkd = true
[serverClass:aa:app:unix]
machineTypes = linux-i686,linux-x86_64,freebsd-i386,sunos-sun4u
restartSplunkd = true

[serverClass:ba]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/ba/
blacklist.0=*
whitelist.0=ba
[serverClass:ba:app:SplunkLightForwarder]
stateOnClient = enabled
restartSplunkd = true
[serverClass:ba:app:sample_app]
stateOnClient = disabled
[serverClass:ba:app:gettingstarted]
stateOnClient = disabled
[serverClass:ba:app:windows]
machineTypes = windows-intel,windows-x64
restartSplunkd = true
[serverClass:ba:app:unix]
machineTypes = linux-i686,linux-x86_64,freebsd-i386,sunos-sun4u
restartSplunkd = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;deploymentclient.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[deployment-client]
disabled = false
clientName = ba
[target-broker:deploymentServer]
targetUri=&amp;lt;serverip&amp;gt;:8089
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 May 2010 23:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-with-multiple-repository-locations-using/m-p/13945#M266</guid>
      <dc:creator>JHill</dc:creator>
      <dc:date>2010-05-20T23:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Server with multiple repository locations using repositoryLocation=</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-with-multiple-repository-locations-using/m-p/13946#M267</link>
      <description>&lt;P&gt;UPDATED
Ended up changing the configuration once again. Removed the &lt;CODE&gt;filterType=&lt;/CODE&gt; and &lt;CODE&gt;blacklist=&lt;/CODE&gt; stanzas all together to get the configuration working properly.&lt;/P&gt;

&lt;P&gt;I used the &lt;CODE&gt;filterType=blacklist&lt;/CODE&gt; stanza which worked but ended up breaking the &lt;CODE&gt;machineTypes&lt;/CODE&gt; filter further into the configuration. &lt;/P&gt;

&lt;P&gt;Upon removing &lt;CODE&gt;filterType=blacklist&lt;/CODE&gt; and &lt;CODE&gt;blacklist.0=*&lt;/CODE&gt; the clients are properly parsing through the serverclass.conf file and receiving the proper apps and configurations for those apps.&lt;/P&gt;

&lt;P&gt;So my configuration ends up as below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[serverClass:aa]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
whitelist.0=aa
[serverClass:aa:app:SplunkLightForwarder]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
stateOnClient = enabled
restartSplunkd = true
[serverClass:aa:app:sample_app]
stateOnClient = disabled
[serverClass:aa:app:gettingstarted]
stateOnClient = disabled
[serverClass:aa:app:windows]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
machineTypes = windows-intel,windows-x64
restartSplunkd = true
[serverClass:aa:app:unix]
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/aa/
machineTypes = linux-i686,linux-x86_64,freebsd-i386,sunos-sun4u
restartSplunkd = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 May 2010 04:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-with-multiple-repository-locations-using/m-p/13946#M267</guid>
      <dc:creator>JHill</dc:creator>
      <dc:date>2010-05-21T04:40:50Z</dc:date>
    </item>
  </channel>
</rss>

