Merge pull request #6 from ghoneycutt/style_cleanup

Remove trailing whitespace from manifest
This commit is contained in:
Garrett Honeycutt 2013-07-01 09:54:37 -07:00
commit 98b3a37323

View File

@ -1,135 +1,135 @@
# ## Class: ssh ## # ## Class: ssh ##
# #
# Manage ssh client and server. # Manage ssh client and server.
# #
# ### Parameters ### # ### Parameters ###
# #
# packages # packages
# -------- # --------
# Array of package names used for installation. # Array of package names used for installation.
# #
# - *Default*: 'openssh-server', 'openssh-server', 'openssh-clients' # - *Default*: 'openssh-server', 'openssh-server', 'openssh-clients'
# #
# permit_root_login # permit_root_login
# ----------------- # -----------------
# Allow root login. Valid values are 'yes', 'without-password', 'forced-commands-only', 'no'. # Allow root login. Valid values are 'yes', 'without-password', 'forced-commands-only', 'no'.
# #
# - *Default*: no # - *Default*: no
# #
# purge_keys # purge_keys
# ---------- # ----------
# Remove keys not managed by puppet. # Remove keys not managed by puppet.
# #
# - *Default*: 'true' # - *Default*: 'true'
# #
# manage_firewall # manage_firewall
# --------------- # ---------------
# Open firewall for SSH service. # Open firewall for SSH service.
# #
# - *Default*: false # - *Default*: false
# #
# ssh_config_path # ssh_config_path
# --------------- # ---------------
# Path to ssh_config. # Path to ssh_config.
# #
# - *Default*: '/etc/ssh/ssh_config' # - *Default*: '/etc/ssh/ssh_config'
# #
# ssh_config_owner # ssh_config_owner
# ---------------- # ----------------
# ssh_config's owner. # ssh_config's owner.
# #
# - *Default*: 'root' # - *Default*: 'root'
# #
# ssh_config_group # ssh_config_group
# ---------------- # ----------------
# ssh_config's group. # ssh_config's group.
# #
# - *Default*: 'root' # - *Default*: 'root'
# #
# ssh_config_mode # ssh_config_mode
# --------------- # ---------------
# ssh_config's mode. # ssh_config's mode.
# #
# - *Default*: '0644' # - *Default*: '0644'
# #
# sshd_config_path # sshd_config_path
# ---------------- # ----------------
# Path to sshd_config. # Path to sshd_config.
# #
# - *Default*: '/etc/ssh/sshd_config # - *Default*: '/etc/ssh/sshd_config
# #
# sshd_config_owner # sshd_config_owner
# ----------------- # -----------------
# sshd_config's owner. # sshd_config's owner.
# #
# - *Default*: 'root' # - *Default*: 'root'
# #
# sshd_config_group # sshd_config_group
# ---------------- # ----------------
# sshd_config's group. # sshd_config's group.
# #
# - *Default*: 'root' # - *Default*: 'root'
# #
# sshd_config_mode # sshd_config_mode
# --------------- # ---------------
# sshd_config's mode. # sshd_config's mode.
# #
# - *Default*: '0600' # - *Default*: '0600'
# #
# service_ensure # service_ensure
# -------------- # --------------
# Ensure SSH service is running. Valid values are 'stopped' and 'running'. # Ensure SSH service is running. Valid values are 'stopped' and 'running'.
# #
# - *Default*: 'running' # - *Default*: 'running'
# #
# service_name # service_name
# ------------ # ------------
# Name of the SSH service. # Name of the SSH service.
# #
# - *Default*: 'sshd' # - *Default*: 'sshd'
# #
# service_enable # service_enable
# -------------- # --------------
# Start SSH at boot. Valid values are 'true', 'false' and 'manual'. # Start SSH at boot. Valid values are 'true', 'false' and 'manual'.
# #
# - *Default*: 'true' # - *Default*: 'true'
# #
# service_hasrestart # service_hasrestart
# ------------------ # ------------------
# Specify that the init script has a restart command. Valid values are 'true' and 'false'. # Specify that the init script has a restart command. Valid values are 'true' and 'false'.
# #
# - *Default*: 'true' # - *Default*: 'true'
# #
# service_hasstatus # service_hasstatus
# ----------------- # -----------------
# Declare whether the service's init script has a functional status command. Valid values are 'true' and 'false' # Declare whether the service's init script has a functional status command. Valid values are 'true' and 'false'
# #
# - *Default*: 'true' # - *Default*: 'true'
# #
# ssh_key_ensure # ssh_key_ensure
# -------------- # --------------
# Export node SSH key. Valid values are 'present' and 'absent'. # Export node SSH key. Valid values are 'present' and 'absent'.
# #
# - *Default*: 'present' # - *Default*: 'present'
# #
# ssh_key_type # ssh_key_type
# ------------ # ------------
# Encryption type for SSH key. Valid values are 'rsa', 'dsa', 'ssh-dss' and 'ssh-rsa' # Encryption type for SSH key. Valid values are 'rsa', 'dsa', 'ssh-dss' and 'ssh-rsa'
# #
# - *Default*: 'ssh-rsa' # - *Default*: 'ssh-rsa'
# #
# manage_root_ssh_config # manage_root_ssh_config
# ---------------------- # ----------------------
# Manage SSH config of root. Valid values are 'true' and 'false'. # Manage SSH config of root. Valid values are 'true' and 'false'.
# #
# - *Default*: 'false' # - *Default*: 'false'
# #
# root_ssh_config_content # root_ssh_config_content
# ----------------------- # -----------------------
# Content of root's ~/.ssh/config. # Content of root's ~/.ssh/config.
# #
# - *Default*: "# This file is being maintained by Puppet.\n# DO NOT EDIT\n" # - *Default*: "# This file is being maintained by Puppet.\n# DO NOT EDIT\n"
# #
class ssh ( class ssh (
$packages = ['openssh-server', $packages = ['openssh-server',
'openssh-server', 'openssh-server',