Change formatting in README to be explicit about example types

This makes the markup render nicely on GitHub
This commit is contained in:
Garrett Honeycutt 2015-12-07 15:07:06 -05:00
parent 4074732dc8
commit 73a0d2ba35

View File

@ -428,14 +428,15 @@ Match directive is supported on SSH >= 5.x.
- *Default*: undef - *Default*: undef
- *Hiera example*: - *Hiera example*:
<pre>
``` yaml
ssh::sshd_config_match: ssh::sshd_config_match:
'User JohnDoe': 'User JohnDoe':
- 'AllowTcpForwarding yes' - 'AllowTcpForwarding yes'
'Address 2.4.2.0': 'Address 2.4.2.0':
- 'X11Forwarding yes' - 'X11Forwarding yes'
- 'PasswordAuthentication no' - 'PasswordAuthentication no'
</pre> ```
keys keys
---- ----
@ -630,7 +631,7 @@ This works by passing the ssh::keys hash to the ssh_authorized_keys type with cr
## Sample usage: ## Sample usage:
Push authorized key "root_for_userX" and remove key "root_for_userY" through Hiera. Push authorized key "root_for_userX" and remove key "root_for_userY" through Hiera.
<pre> ``` yaml
ssh::keys: ssh::keys:
root_for_userX: root_for_userX:
ensure: present ensure: present
@ -646,4 +647,4 @@ ssh::keys:
root_for_userY: root_for_userY:
ensure: absent ensure: absent
user: root user: root
</pre> ```