Skip to content

Commit a3d892e

Browse files
committed
Make lintastic
1 parent 074a9b9 commit a3d892e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

cookbooks/boxcutter_sonatype/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ ongoing configuration of a Sonatype Nexus Repository 3 instance using Chef.
66

77
At a high level, this cookbook:
88

9-
Installs Nexus Repository 3
10-
Ensures the Nexus service is running
11-
Bootstraps the admin account (if required)
12-
Accepts the Nexus EULA (if required)
13-
Enforces selected security and access settings (for example, anonymous access)
14-
Ensures the instance is left in a known, converged state
9+
- Installs Nexus Repository 3
10+
- Ensures the Nexus service is running
11+
- Bootstraps the admin account (if required)
12+
- Accepts the Nexus EULA (if required)
13+
- Enforces selected security and access settings (for example, anonymous access)
14+
- Ensures the instance is left in a known, converged state
1515

1616
This cookbook is safe to run repeatedly. All configuration steps are
1717
idempotent and driven through the Nexus REST API.
1818

19-
2019
Usage
2120
-----
2221

@@ -48,7 +47,7 @@ The automation looks for Nexus admin password in the following order
4847
(highest priority first):
4948

5049
1. `node.run_state['boxcutter_sonatype']['nexus_repository']['admin_password']`
51-
2. `node['boxcutter_sonatype']['nexus_repository']['admin_password']`
50+
1. `node['boxcutter_sonatype']['nexus_repository']['admin_password']`
5251

5352
If a password is present in `node.run_state`, it will always take precedence
5453
over any value defined in node attributes.
@@ -58,7 +57,7 @@ over any value defined in node attributes.
5857
The recommended approach is to inject the password into `node.run_state`
5958
from a wrapper cookbook at converge time:
6059

61-
```
60+
```ruby
6261
# Initialize the parent hash if it doesn't exist
6362
node.run_state['boxcutter_sonatype'] ||= {}
6463
node.run_state['boxcutter_sonatype']['nexus_repository'] ||= {}
@@ -79,4 +78,4 @@ procedure:
7978
https://support.sonatype.com/hc/en-us/articles/213467158-How-to-reset-a-forgotten-admin-password-in-Sonatype-Nexus-Repository-3
8079

8180
After resetting the password, update the value supplied to this cookbook and
82-
re-run Chef.
81+
re-run Chef.

0 commit comments

Comments
 (0)