Skip to content

Commit

Permalink
Update data/infra/resources/apt_package.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Pansare <[email protected]>
  • Loading branch information
IanMadd authored and neha-p6 committed Dec 9, 2023
1 parent 2830465 commit a8d3afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/infra/resources/apt_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ examples: |
**Prevent the apt_package resource from installing packages with pattern matching names**:
By default, the apt_package resource will install the named package.
If it can't find a package with the exact same name, it will treat the package name as regex string and match with any package that matches that regex.
This may lead Chef Infra Client to install one or more packages with names that match that regex.
If it can't find a package with the exact same name, it will treat the package name as regular expression string and match with any package that matches that regular expression.
This may lead Chef Infra Client to install one or more packages with names that match that regular expression.
In this example, `anchor_package_regex true` prevents the apt_package resource from installing matching packages if it can't find the `lua5.3` package.
Expand Down

0 comments on commit a8d3afd

Please sign in to comment.