Hello Experts ,
I have never done this and wonder if there is a best way to achieve below
I want to use DS to push intial configurations from DS to CM and then use CM as porxy for IDX cluster . I tried below
1) added CM as client and for the serverclass I have added 'stateOnClient = noop' to each of the app entries just to make sure those application does not work locally no the CM
2) after above step confs lands on cm under /opt/splunk/etc/apps ,however I want them to land to /opt/splukn/etc/master-apps
question is can DS put the directories in a diffferent locations than default that is /opt/splunk/etc/apps
Hi @vikasg
It’s possible to do this by setting the repositoryLocation value in deploymentclient.conf however in terms of supportability and recommendations…well.. I’m not sure you’ll get much positive encouragement to do this as it’s not really recommended. This approach may also break the UI editing capability for managing clients because the UI is not built to manage this setting.
repositoryLocation = $SPLUNK_HOME/etc/apps
* The location where content installs when downloaded from a deployment server.
* For the Splunk platform instance on the deployment client to recognize an app
or configuration content, install the app or content in the default location:
$SPLUNK_HOME/etc/apps.
* NOTE: Apps and configuration content for deployment can be in other
locations on the deployment server. Set both 'repositoryLocation' and
'serverRepositoryLocationPolicy' explicitly to ensure that the content
installs on the deployment client in the correct location, which is
$SPLUNK_HOME/etc/apps.
* The deployment client uses the following 'serverRepositoryLocationPolicy'
to determine the value of 'repositoryLocation'.
Check out https://docs.splunk.com/Documentation/Splunk/9.4.2/Admin/Deploymentclientconf docs for more info.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing.
@livehybrid Thank you for the quick response . Let me a give a shot on this will keep posted here how it goes .
Yes, it is possible exactly that way @livehybrid described. But you still have to manually log in to CM and validate the bundle and push it so it doesn't save you much work (and makes the process... less obvious)