From 499c8ea103ece26f63b6245f64c738652f215e6f Mon Sep 17 00:00:00 2001 From: twangboy Date: Mon, 5 Jun 2023 15:12:41 -0600 Subject: [PATCH] Add versionadded --- salt/modules/win_appx.py | 2 ++ salt/modules/win_dism.py | 6 +++++- salt/states/win_appx.py | 2 ++ salt/states/win_dism.py | 4 +++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/salt/modules/win_appx.py b/salt/modules/win_appx.py index 8a6a22549f6..38c1c1423e2 100644 --- a/salt/modules/win_appx.py +++ b/salt/modules/win_appx.py @@ -2,6 +2,8 @@ Manage provisioned apps ======================= +.. versionadded:: 3007.0 + Provisioned apps are part of the image and are installed for every user the first time the user logs on. Provisioned apps are also updated and sometimes reinstalled when the system is updated. diff --git a/salt/modules/win_dism.py b/salt/modules/win_dism.py index d8bcebf5277..4f4aba650c3 100644 --- a/salt/modules/win_dism.py +++ b/salt/modules/win_dism.py @@ -518,7 +518,9 @@ def add_provisioned_package(package, image=None, restart=False): """ Provision a package using DISM. A provisioned package will install for new users on the system. It will also be reinstalled on each user if the system - if updated. + is updated. + + .. versionadded:: 3007.0 Args: @@ -713,6 +715,8 @@ def provisioned_packages(image=None): """ List the packages installed on the system + .. versionadded:: 3007.0 + Args: image (Optional[str]): The path to the root directory of an offline Windows image. If `None` is passed, the running operating system is diff --git a/salt/states/win_appx.py b/salt/states/win_appx.py index 75d90224b51..e3e1e9a3fb6 100644 --- a/salt/states/win_appx.py +++ b/salt/states/win_appx.py @@ -1,6 +1,8 @@ """ Manage Microsoft Store apps on Windows. Removing an app with this modules will deprovision the app from the online Windows image. + +.. versionadded:: 3007.0 """ import fnmatch import logging diff --git a/salt/states/win_dism.py b/salt/states/win_dism.py index b8b18fe21e4..3acdbe23b2c 100644 --- a/salt/states/win_dism.py +++ b/salt/states/win_dism.py @@ -389,7 +389,9 @@ def package_installed( def provisioned_package_installed(name, image=None, restart=False): """ - Install a package. + Provision a package on a Windows image. + + .. versionadded:: 3007.0 Args: