Skip to content

Commit 74a6e05

Browse files
authored
Merge pull request #3386 from btriller/functions-formatting
functions: Fix formatting for package*matching
2 parents ab1bc57 + b4e8c77 commit 74a6e05

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

reference/functions/packagesmatching.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ some desired packages, and finally reports if they are installed.
4646
[%CFEngine_include_example(packagesmatching.cf)%]
4747

4848
**Refresh rules:**
49+
4950
* installed packages cache used by packagesmatching() is refreshed at the end of each agent run in accordance with constraints defined in the relevant package module body.
5051
* installed packages cache is refreshed after installing or removing a package.
5152
* installed packages cache is refreshed if no local cache exists.
52-
This means a reliable way to force a refresh of CFEngine's internal package cache is to simply delete the local cache:
53+
54+
This means a reliable way to force a refresh of CFEngine's internal package cache is to simply delete the local cache:
5355

5456
```cf3
5557
$(sys.statedir)/packages_installed_<package_module>.lmdb*
@@ -65,7 +67,6 @@ $(sys.statedir)/software_packages.csv
6567
**History:**
6668

6769
* Introduced in CFEngine 3.6
68-
6970
* Function started using `package_module` based data sources by default, even if
7071
there is no `package_inventory` attribute defined in `body common control` if
7172
available in 3.23.0

reference/functions/packageupdatesmatching.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ vars:
5050
```
5151

5252
**Refresh rules:**
53+
5354
* updates cache used by packageupdatesmatching() is refreshed at the end of each agent run in accordance with constraints defined in the relevant package module body.
5455
* updates cache is refreshed every time `repo` type package is installed or removed
5556
* updates cache is refreshed if no local cache exists.
56-
This means a reliable way to force a refresh of CFEngine's internal package cache is to simply delete the local cache:
57+
58+
This means a reliable way to force a refresh of CFEngine's internal package cache is to simply delete the local cache:
5759

5860
```cf3
5961
$(sys.statedir)/packages_updates_<package_module>.lmdb*
@@ -68,7 +70,6 @@ $(sys.statedir)/software_patches_avail.csv
6870
**History:**
6971

7072
* Introduced in CFEngine 3.6
71-
7273
* Function started using `package_module` based data sources by default, even if
7374
there is no `package_inventory` attribute defined in `body common control` if
7475
available in 3.23.0

0 commit comments

Comments
 (0)