Skip to content

Commit

Permalink
Basic reformatting (#4215)
Browse files Browse the repository at this point in the history
* Basic reformatting

Signed-off-by: Ian Maddaus <[email protected]>

* Lint fixes

Signed-off-by: Ian Maddaus <[email protected]>

* More lints

Signed-off-by: Ian Maddaus <[email protected]>

---------

Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd authored Dec 4, 2023
1 parent a3c1709 commit fd6a0a6
Show file tree
Hide file tree
Showing 15 changed files with 109 additions and 108 deletions.
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 @@ knife data bag from file BAG_NAME ITEM_NAME.json

will load the following file:

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

Expand Down Expand Up @@ -221,7 +221,7 @@ arguments and the following options:

| 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 @@ knife data bag show passwords mysql
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 @@ be used to store shared environment data within a data bag: by using a
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
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

0 comments on commit fd6a0a6

Please sign in to comment.