This project includes examples of Salt states that can be imported into the SystemLink's States view for deployment to remote systems. For more information see Salt States
Example on how to remove logs or other files from a directory to free up disk space. SALT.STATES.FILE
Example for modifying INI configuration files. SALT.STATES.INI_MANAGE
Example on how to set registry keys via a salt state. SALT.STATES.REG
Example on how to sync files from a git repository. Note this state requires that you have pre-installed a git client on the target. SALT.STATES.GIT
Example on how to install Python and the SystemLink Python SDK to a client. This examples uses the NI Package Manager module for feeds and packages.
Example on how to install an additional Python module into the SystemLink Python and Jupyter Notebook environment. SALT.STATES.PIP_STATE
Example on how to install a specific Windows KB/Patch. SALT.STATES.WIN_WUA MODULE
Example on deploying Windows critical updates. SALT.STATES.WIN_WUA MODULE
Example for changing your server for a managed system, which is useful when migrating from a test server to a production server. This example also illustrates how to change the contents of a configuration file and force a reboot. SALT.STATES.FILE SALT.STATES.WIN_SYSTEM
Shows how to modify an attribute stored in an XML file on the target using a state. Requires SystemLink Server and Client 2020 R3 or higher and currently only supported on Windows targets. NI Linux RT support is targetted for 2021 R1. SALT.STATES.XML