Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic reformatting #4215

Merged
merged 3 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions content/api_omnitruck.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Chef Software products and to provide direct download URLs.

The URL from which these downloads can be obtained has the following syntax:

```none
```plain
https://omnitruck.chef.io/<CHANNEL>/<PRODUCT>/download?p=$PLATFORM&pv=$PLATFORM_VERSION&m=$MACHINE_ARCH&v=latest&prerelease=false&nightlies=false
```

or:

```none
```plain
https://omnitruck.chef.io/<CHANNEL>/<PRODUCT>/metadata?p=$PLATFORM&pv=$PLATFORM_VERSION&m=$MACHINE_ARCH&v=latest&prerelease=false&nightlies=false
```

Expand All @@ -40,13 +40,13 @@ single step.

The `/metadata` and/or `/download` endpoints can be used to download packages for all products:

```none
```plain
https://omnitruck.chef.io/<CHANNEL>/<PRODUCT>/download?p=$PLATFORM&pv=$PLATFORM_VERSION&m=$MACHINE_ARCH&v=latest
```

or:

```none
```plain
https://omnitruck.chef.io/<CHANNEL>/<PRODUCT>/metadata?p=$PLATFORM&pv=$PLATFORM_VERSION&m=$MACHINE_ARCH&v=latest
```

Expand Down Expand Up @@ -164,13 +164,13 @@ This is a list of currently supported products that you can install with the Omn

To get the latest supported build for Ubuntu 20.04, enter the following:

```none
```plain
https://omnitruck.chef.io/stable/chef/metadata?p=ubuntu&pv=20.04&m=x86_64
```

to return something like:

```none
```plain
sha1 3fe8e8a2f443675f9b82e876cdac8200104451f2
sha256 9f1c1a2c0b1f4e8494664386437bf32f0cb5cbfbd4cb9d23e327767fc65581dc
url https://packages.chef.io/files/stable/chef/17.7.29/ubuntu/20.04/chef_17.7.29-1_amd64.deb
Expand Down
2 changes: 1 addition & 1 deletion content/cookbook_versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ knife cookbook upload redis --force
Without the `--force` option specified, an error will be returned
similar to:

```none
```bash
Version 0.0.0 of cookbook redis is frozen. Use --force to override
```

Expand Down
2 changes: 1 addition & 1 deletion content/ctl_chef_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ threads. To increase the system process limits:
When the system process limits are too low, an error is returned similar
to:

```none
```bash
Error Syncing Cookbooks:
==================================================================

Expand Down
10 changes: 5 additions & 5 deletions content/data_bags.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

will load the following file:

```none
```plain
data_bags/BAG_NAME/ITEM_NAME.json
```

Expand Down Expand Up @@ -221,7 +221,7 @@

| Option | Description |
|--------------------|-------------------------------------------------------------|
| `--secret SECRET` | The encryption key that is used for values contained within a data bag item. If `secret` is not specified, Chef Infra Client looks for a secret at the path specified by the `encrypted_data_bag_secret` setting in the client.rb file. |
| `--secret SECRET` | The encryption key that's used for values contained within a data bag item. If `secret` is not specified, Chef Infra Client looks for a secret at the path specified by the `encrypted_data_bag_secret` setting in the client.rb file. |
| `--secret-file FILE` | The path to the file that contains the encryption key. |

### Secret Keys
Expand Down Expand Up @@ -255,7 +255,7 @@
where "passwords" is the name of the data bag and "mysql" is the name of
the data bag item. This will return something similar to:

```none
```bash
id: mysql
pass:
cipher: aes-256-cbc
Expand Down Expand Up @@ -316,10 +316,10 @@
top-level key that corresponds to the environment or by using separate
items for each environment.

A data bag that is storing a top-level key for an environment might look
A data bag stores a top-level key for an environment might look
something like this:

```none
```json
{
"id": "some_data_bag_item",
"production" : {
Expand Down Expand Up @@ -510,7 +510,7 @@
{{< note >}}

Use the `chef-solo-search` cookbook library (developed by Chef community
member "edelight" and available from GitHub) to add data bag search

Check failure on line 513 in content/data_bags.md

View workflow job for this annotation

GitHub Actions / cspell-action

Unknown word (edelight)
capabilities to a chef-solo environment:
<https://github.com/edelight/chef-solo-search>.

Expand Down
2 changes: 1 addition & 1 deletion content/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ override[:test][:source] = 'attributes override'

To debug the location in which the value of `node[:test][:source]` is set, use chef-shell and run a command similar to:

```none
```ruby
pp node.debug_value('test', 'source')
```

Expand Down
2 changes: 1 addition & 1 deletion content/deprecations_chef_platform_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library-based resources and providers that do not declare provides in
which case your Chef Infra Client run is likely full of a compilation of
warnings and deprecations:

```none
```plain
* foo[it] action doit[2016-12-07T14:28:59-08:00] WARN: Class Chef::Provider::Foo does not declare 'provides :foo'.
[2016-12-07T14:28:59-08:00] WARN: This will no longer work in Chef Infra Client 13: you must use 'provides' to use the resource's DSL.
(up to date)
Expand Down
Loading
Loading