<?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: Can a deployment client subscribe to an app? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84254#M3037</link>
    <description>&lt;P&gt;So you want to remotely edit the serverclass.conf on the deployment-server to add a whitelist item ?&lt;BR /&gt;
I am not sure that there is a REST API for it.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2012 14:28:47 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2012-10-09T14:28:47Z</dc:date>
    <item>
      <title>Can a deployment client subscribe to an app?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84251#M3034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are using the deployment server to distribute configuration to universal forwarders. Since we are using chef to install the forwarders, it would be very good if we could add the forwarder to a serverclass from the forwarder host itself, rather than doing this at the deployment server.&lt;/P&gt;

&lt;P&gt;Any suggestions on doing this. Preferrably, it should be scriptable. With that I mean either a CLI command to run on the forwarder, or some way to do it through the REST API.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 07:02:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84251#M3034</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2012-10-09T07:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can a deployment client subscribe to an app?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84252#M3035</link>
      <description>&lt;P&gt;there is a way to achieve this. &lt;BR /&gt;
The deploymentclient.conf on the client has a parameter &lt;CODE&gt;clientName&lt;/CODE&gt; that can be used to replace the &lt;CODE&gt;ip&lt;/CODE&gt; and &lt;CODE&gt;hostname&lt;/CODE&gt; used to match the whitelist/blacklist in the server serverclass.conf&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.4/admin/Serverclassconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.4/admin/Serverclassconf&lt;/A&gt;&lt;BR /&gt;
and &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.4/admin/Deploymentclientconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.4/admin/Deploymentclientconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You could use define your classes with roles by example, and use chef to populate the clientName with a concatenation of the classes and hostname.&lt;/P&gt;

&lt;P&gt;example :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[deployment-client]&lt;BR /&gt;
clientName=myhostname-roleA-roleB&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and on the serverclass&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[myclassA]&lt;BR /&gt;
whitelist=*roleA*&lt;BR /&gt;
[myclassB]&lt;BR /&gt;
whitelist=*roleB*&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 13:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84252#M3035</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-10-09T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can a deployment client subscribe to an app?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84253#M3036</link>
      <description>&lt;P&gt;Thanks, but that doesn't really do what I want. (I know about clientName).&lt;/P&gt;

&lt;P&gt;This solution requires the whitelists to be configured beforehand on the deployment server.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 14:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84253#M3036</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2012-10-09T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can a deployment client subscribe to an app?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84254#M3037</link>
      <description>&lt;P&gt;So you want to remotely edit the serverclass.conf on the deployment-server to add a whitelist item ?&lt;BR /&gt;
I am not sure that there is a REST API for it.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 14:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84254#M3037</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-10-09T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can a deployment client subscribe to an app?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84255#M3038</link>
      <description>&lt;P&gt;Yes, that's what I want, more or less. I guess the clientName solution is the closest thing, but it does require some preparation. OTOH, it is a sane approach which provides a kind of "menu" of distributable apps.&lt;/P&gt;

&lt;P&gt;Do you know if there are any restrictions on length and characters contained?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:50:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-a-deployment-client-subscribe-to-an-app/m-p/84255#M3038</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2012-10-09T15:50:05Z</dc:date>
    </item>
  </channel>
</rss>

