Create the app directories
You create separate directories for each deployment app in a special location on agent management. The default location is $SPLUNK_HOME/etc/deployment-apps, but this is configurable through the repositoryLocation attribute in the serverclass.conf file. Underneath this location, each app must have its own subdirectory. The name of the subdirectory serves as the app name in the agent management interface.
After an app is downloaded, it resides under $SPLUNK_HOME/etc/apps on the agents.
You can add apps at any time. After creating any new app directories, you must run the CLI reload deploy-server command to make agent management aware of them:
splunk reload deploy-server
By creating an app directory, you have effectively created the app itself, even if the directory does not yet contain any content. The app now appears in the agent management interface and you can use it to define server classes, as described in About server classes.
whatever=1 in the configuration file x.conf in an app directory named "A", the setting in app A overrides the setting whatever=0 in x.conf in an app named "B", and so on.