From f24851a9f18e42c1b0f28ea825bfd8e4e4392fbe Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 22 Feb 2024 13:32:08 -0600 Subject: [PATCH] redirect package page references to packages-v1 generally --- api/enterprise-api-ref/sql-schema/cfdb.markdown | 4 ++-- examples/tutorials/file_comparison.markdown | 2 +- examples/tutorials/manage-packages.markdown | 2 +- reference/components.markdown | 4 ++-- .../language-concepts/modules/package-module-api.markdown | 2 +- reference/language-concepts/normal-ordering.markdown | 2 +- reference/masterfiles-policy-framework/lib-packages.markdown | 2 +- reference/promise-types.markdown | 2 +- release-notes/known-issues.markdown | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/enterprise-api-ref/sql-schema/cfdb.markdown b/api/enterprise-api-ref/sql-schema/cfdb.markdown index f44820f69..258c8fcdf 100644 --- a/api/enterprise-api-ref/sql-schema/cfdb.markdown +++ b/api/enterprise-api-ref/sql-schema/cfdb.markdown @@ -1117,7 +1117,7 @@ changetimestamp | 2018-10-02 00:04:52+00 ## Table: Software Software packages installed (according to local package manager) on the hosts. -More information about CFEngine and package management can be found [here][packages]. +More information about CFEngine and package management can be found [here][packages-v2]. **Columns:** @@ -1235,7 +1235,7 @@ changetimestamp | 2015-03-12 10:20:18+00 ## Table: SoftwareLog Software packages installed / deleted over period of time. -More information about CFEngine and package management can be found [here][packages]. +More information about CFEngine and package management can be found [here][packages-v2]. **Columns:** diff --git a/examples/tutorials/file_comparison.markdown b/examples/tutorials/file_comparison.markdown index a863999fb..a94a6b171 100644 --- a/examples/tutorials/file_comparison.markdown +++ b/examples/tutorials/file_comparison.markdown @@ -22,7 +22,7 @@ Here is the order in which bundles are called in the command line above (some ot 1. [robot][#robot] - demonstrates use of `reports`. 2. [global_vars][#global_vars] - sets up some global variables for later use. -3. [packages][#packages] - installs packages that will be used later on. +3. [packages-v2][#packages] - installs packages that will be used later on. 4. [create_aout_source_file][#create_aout_source_file] - creates a source file. 5. [create_aout][#create_aout] - compiles the source file. 6. [test_delete][#test_delete] - deletes a file. diff --git a/examples/tutorials/manage-packages.markdown b/examples/tutorials/manage-packages.markdown index ce9c09269..c206ce397 100644 --- a/examples/tutorials/manage-packages.markdown +++ b/examples/tutorials/manage-packages.markdown @@ -126,7 +126,7 @@ The packages promise also supports version pinning, so that you can specify exactly the version you want to have installed. It is modular and extensible, so that it is easy to add support for new platforms and package managers. For complete documentation, please have a look at the [reference manual for the -packages promise][packages]. +packages promise][packages-v2]. Of course, running the policy by hand is only good for initial testing. Once your policy works the way you need, you will want to deploy it to your entire diff --git a/reference/components.markdown b/reference/components.markdown index c30dd4780..370419f4d 100644 --- a/reference/components.markdown +++ b/reference/components.markdown @@ -388,7 +388,7 @@ string is also prefixed messages in the event log. **Description:** List of package module bodies to query for package lists. -Defines the list of [`package module bodies`][packages] which will be queries for +Defines the list of [`package module bodies`][packages-v2] which will be queries for package lists, for use in `packagematching()`, `packageupdatesmatching()` and in Enterprise inventory reporting. @@ -409,7 +409,7 @@ body common control **Description:** The default package module body to use. -Defines the default package module body to use for [package promises][packages], +Defines the default package module body to use for [package promises][packages-v2], if none is specified in the promise. **Type:** `string` diff --git a/reference/language-concepts/modules/package-module-api.markdown b/reference/language-concepts/modules/package-module-api.markdown index 7d7955bd6..566253a40 100644 --- a/reference/language-concepts/modules/package-module-api.markdown +++ b/reference/language-concepts/modules/package-module-api.markdown @@ -8,7 +8,7 @@ sorting: 70 Package modules are back-ends that enable the package promise to work with different types of platform package managers. -See the [`packages` promises][packages] documentation for a +See the [`packages` promises][packages-v2] documentation for a comprehensive reference on the body types and attributes used here. ## The CFEngine side diff --git a/reference/language-concepts/normal-ordering.markdown b/reference/language-concepts/normal-ordering.markdown index 9fea7ae42..74b79fa98 100644 --- a/reference/language-concepts/normal-ordering.markdown +++ b/reference/language-concepts/normal-ordering.markdown @@ -114,7 +114,7 @@ following, converging towards a final state: 4. [classes][classes] 5. [users][users] 6. [files][files] -7. [packages][packages] +7. [packages-v2][packages] 8. [guest_environments][guest_environments] 9. [methods][methods] 10. [processes][processes] diff --git a/reference/masterfiles-policy-framework/lib-packages.markdown b/reference/masterfiles-policy-framework/lib-packages.markdown index 7a7f0fbda..b745a2da9 100644 --- a/reference/masterfiles-policy-framework/lib-packages.markdown +++ b/reference/masterfiles-policy-framework/lib-packages.markdown @@ -4,7 +4,7 @@ title: lib/packages.cf published: true --- -See the [`packages` promises][packages] documentation for a +See the [`packages` promises][packages-v2] documentation for a comprehensive reference on the body types and attributes used here. [%CFEngine_library_include(lib/packages)%] diff --git a/reference/promise-types.markdown b/reference/promise-types.markdown index 7389f0227..42eeb89e6 100644 --- a/reference/promise-types.markdown +++ b/reference/promise-types.markdown @@ -19,7 +19,7 @@ depends on the [bundle][bundles] type: | [commands][commands] - execute a command | | x | | | | [databases][databases] - configure a database | | x | | | | [files][files] - configure a file | | x | | | -| [packages][packages] - install a package | | x | | | +| [packages-v2][packages] - install a package | | x | | | | [guest_environments][guest_environments] | | x | | | | [methods][methods] - take on a whole bundle of other promises | | x | | | | [processes][processes] - start or terminate processes | | x | | | diff --git a/release-notes/known-issues.markdown b/release-notes/known-issues.markdown index 2ce106e52..c95630757 100644 --- a/release-notes/known-issues.markdown +++ b/release-notes/known-issues.markdown @@ -24,7 +24,7 @@ functionality is reinstated. ### HP-UX specific -* [Package promises][packages] do not have out-of-the-box support for the HP-UX +* [Package promises][packages-v2] do not have out-of-the-box support for the HP-UX specific package manager. The workaround is to call the package manager directly using [commands promises][commands]. * Some important system information is missing from the HP-UX inventory report,