UPDATE-INSTALLATION(1)

NAME
update-installation - perform a sequence of update actions on an installation graph

SYNOPSIS
slim update-installation [(-h|--help)] [(-a|--actions=)<action> [<action>...]] [(-i|--installation=)<filename>] [(-o|--output-dir=)<output-dir>] [(-r|--repository=)<repository>] [--disable-automatic-resolution]

DESCRIPTION
Performs a sequence of update actions on the app installation graph for a Splunk system.

OPTIONS
-h, --help
Print help message and exit.

-a <action> [<action>...], --actions <action> [<action>...]
Apply actions to the given installation graph: add, remove, set, or update. Actions are defined as a sequence of JSON objects:

    --actions '{
      "action": "add",
      "args": {
        "app_package": "&lt;path>",
        "combine_search_head_indexer_workloads": &lt;boolean>,
          "workloads": {
            "&lt;input-group-name>": ["&lt;server-class-name>"(, "&lt;server-class-name>" ...)],
            "&lt;input-group-name>": ["&lt;server-class-name>"(, "&lt;server-class-name>" ...)] ...
          }
        }
      }
    }' '{
      "action": "remove",
        "args": {
          "app_id": "&lt;app_id>"
        }
      }
    }' '{
      "action": "set",
      "args": {
        "app_package": "&lt;path>",
          "combine_search_head_indexer_workloads": &lt;boolean>,
          "workloads": {
            "&lt;input-group-name>": ["&lt;server-class-name>"(, "&lt;server-class-name>" ...)],
            "&lt;input-group-name>": ["&lt;server-class-name>"(, "&lt;server-class-name>" ...)] ...
          }
        }
      }
    }' '{
      "action": "update"
      "args": {
        "app_package": "&lt;path>"
      }
    }'

--disable-automatic-resolution Do not automatically resolve dependency conflicts by updating installed versions.

-i <filename>, --installation=<filename>
Read installation graph from the file at this location (default: empty).

-o <output-dir>, --output-dir=<output-dir>
Save targeted deployment packages to the directory at this location (default: current directory).

-r <repository>, --repository=<repository>
Look for dependent source packages in the directory at this location (default: ${SLIM_REPOSITORY:=~/.slim/repository}).