annotate modules/ssh/manifests/init.pp @ 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents adf6fe9bbc17
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
1 # @summary Class to manage SSH client
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
2 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
3 # Notes: `Match` and `Host` attributes are not directly supported as multiple
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
4 # match/host blocks can exist. Use the `custom` parameter for that.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
5 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
6 # @param config_entries
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
7 # Hash of configuration entries passed to ssh::config_entries define.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
8 # Please check the docs for ssh::config_entries for a list and details
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
9 # of the parameters usable here.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
10 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
11 # @param config_group
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
12 # User group used for ssh_config file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
13 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
14 # @param config_mode
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
15 # File mode used for ssh_config file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
16 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
17 # @param config_owner
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
18 # User/Owner used for ssh_config file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
19 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
20 # @param config_path
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
21 # Absolute path to ssh_config file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
22 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
23 # @param global_known_hosts_group
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
24 # User group used for global used known_hosts file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
25 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
26 # @param global_known_hosts_mode
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
27 # File mode used for global used known_hosts file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
28 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
29 # @param global_known_hosts_owner
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
30 # User/Owner used for global used known_hosts file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
31 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
32 # @param global_known_hosts_path
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
33 # Absolute path to global used known_hosts file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
34 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
35 # @param keys
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
36 # Hash of keys to be added to ~/.ssh/authorized_keys for users.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
37 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
38 # @param manage_global_known_hosts
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
39 # Boolean to choose if the global used known hosts file should be managed.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
40 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
41 # @param manage_root_ssh_config
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
42 # Boolean to choose if the ssh_config file of root should be managed.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
43 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
44 # @param manage_server
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
45 # Boolean to choose if the SSH daemon and its configuration should be managed.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
46 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
47 # @param manage_sshkey
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
48 # Boolean to choose if SSH keys should be managed. Also see $purge_keys.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
49 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
50 # @param manage_packages
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
51 # Boolean to choose if SSH client packages should be managed.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
52 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
53 # @param packages
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
54 # Installation package(s) for the SSH client.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
55 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
56 # @param packages_ensure
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
57 # Ensure parameter to SSH client package(s).
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
58 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
59 # @param packages_adminfile
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
60 # Path to adminfile for SSH client package(s) installation. Needed for Solaris.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
61 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
62 # @param packages_source
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
63 # Source to SSH client package(s). Needed for Solaris.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
64 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
65 # @param purge_keys
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
66 # If SSH keys not managed by Puppet should get removed. Also see $manage_sshkey.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
67 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
68 # @param root_ssh_config_content
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
69 # Content of the ssh_config file of root.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
70 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
71 # @param config_files
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
72 # Hash of configuration entries passed to ssh::config_file_client define.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
73 # Please check the docs for ssh::config_file_client and the type Ssh::Ssh_Config
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
74 # for a list and details of the parameters usable here.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
75 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
76 # @param host
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
77 # Value(s) passed to Host parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
78 # Check https://man.openbsd.org/ssh_config#Host for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
79 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
80 # @param add_keys_to_agent
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
81 # Value(s) passed to AddKeysToAgent parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
82 # Check https://man.openbsd.org/ssh_config#AddKeysToAgent for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
83 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
84 # @param address_family
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
85 # Value(s) passed to AddressFamily parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
86 # Check https://man.openbsd.org/ssh_config#AddressFamily for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
87 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
88 # @param batch_mode
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
89 # Value(s) passed to BatchMode parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
90 # Check https://man.openbsd.org/ssh_config#BatchMode for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
91 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
92 # @param bind_address
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
93 # Value(s) passed to BindAddress parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
94 # Check https://man.openbsd.org/ssh_config#BindAddress for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
95 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
96 # @param bind_interface
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
97 # Value(s) passed to BindInterface parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
98 # Check https://man.openbsd.org/ssh_config#BindInterface for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
99 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
100 # @param canonical_domains
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
101 # Value(s) passed to CanonicalDomains parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
102 # Check https://man.openbsd.org/ssh_config#CanonicalDomains for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
103 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
104 # @param canonicalize_fallback_local
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
105 # Value(s) passed to CanonicalizeFallbackLocal parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
106 # Check https://man.openbsd.org/ssh_config#CanonicalizeFallbackLocal for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
107 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
108 # @param canonicalize_hostname
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
109 # Value(s) passed to CanonicalizeHostname parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
110 # Check https://man.openbsd.org/ssh_config#CanonicalizeHostname for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
111 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
112 # @param canonicalize_max_dots
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
113 # Value(s) passed to CanonicalizeMaxDots parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
114 # Check https://man.openbsd.org/ssh_config#CanonicalizeMaxDots for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
115 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
116 # @param canonicalize_permitted_cnames
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
117 # Value(s) passed to CanonicalizePermittedCNAMEs parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
118 # Check https://man.openbsd.org/ssh_config#CanonicalizePermittedCNAMEs for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
119 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
120 # @param ca_signature_algorithms
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
121 # Value(s) passed to CASignatureAlgorithms parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
122 # Check https://man.openbsd.org/ssh_config#CASignatureAlgorithms for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
123 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
124 # @param certificate_file
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
125 # Value(s) passed to CertificateFile parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
126 # Check https://man.openbsd.org/ssh_config#CertificateFile for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
127 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
128 # @param check_host_ip
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
129 # Value(s) passed to CheckHostIP parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
130 # Check https://man.openbsd.org/ssh_config#CheckHostIP for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
131 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
132 # @param ciphers
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
133 # Value(s) passed to Ciphers parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
134 # Check https://man.openbsd.org/ssh_config#Ciphers for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
135 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
136 # @param clear_all_forwardings
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
137 # Value(s) passed to ClearAllForwardings parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
138 # Check https://man.openbsd.org/ssh_config#ClearAllForwardings for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
139 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
140 # @param compression
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
141 # Value(s) passed to Compression parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
142 # Check https://man.openbsd.org/ssh_config#Compression for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
143 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
144 # @param connection_attempts
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
145 # Value(s) passed to ConnectionAttempts parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
146 # Check https://man.openbsd.org/ssh_config#ConnectionAttempts for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
147 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
148 # @param connect_timeout
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
149 # Value(s) passed to ConnectTimeout parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
150 # Check https://man.openbsd.org/ssh_config#ConnectTimeout for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
151 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
152 # @param control_master
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
153 # Value(s) passed to ControlMaster parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
154 # Check https://man.openbsd.org/ssh_config#ControlMaster for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
155 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
156 # @param control_path
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
157 # Value(s) passed to ControlPath parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
158 # Check https://man.openbsd.org/ssh_config#ControlPath for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
159 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
160 # @param control_persist
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
161 # Value(s) passed to ControlPersist parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
162 # Check https://man.openbsd.org/ssh_config#ControlPersist for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
163 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
164 # @param dynamic_forward
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
165 # Value(s) passed to DynamicForward parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
166 # Check https://man.openbsd.org/ssh_config#DynamicForward for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
167 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
168 # @param enable_ssh_keysign
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
169 # Value(s) passed to EnableSSHKeysign parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
170 # Check https://man.openbsd.org/ssh_config#EnableSSHKeysign for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
171 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
172 # @param escape_char
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
173 # Value(s) passed to EscapeChar parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
174 # Check https://man.openbsd.org/ssh_config#EscapeChar for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
175 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
176 # @param exit_on_forward_failure
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
177 # Value(s) passed to ExitOnForwardFailure parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
178 # Check https://man.openbsd.org/ssh_config#ExitOnForwardFailure for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
179 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
180 # @param fingerprint_hash
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
181 # Value(s) passed to FingerprintHash parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
182 # Check https://man.openbsd.org/ssh_config#FingerprintHash for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
183 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
184 # @param fork_after_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
185 # Value(s) passed to ForkAfterAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
186 # Check https://man.openbsd.org/ssh_config#ForkAfterAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
187 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
188 # @param forward_agent
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
189 # Value(s) passed to ForwardAgent parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
190 # Check https://man.openbsd.org/ssh_config#ForwardAgent for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
191 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
192 # @param forward_x11
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
193 # Value(s) passed to ForwardX11 parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
194 # Check https://man.openbsd.org/ssh_config#ForwardX11 for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
195 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
196 # @param forward_x11_timeout
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
197 # Value(s) passed to ForwardX11Timeout parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
198 # Check https://man.openbsd.org/ssh_config#ForwardX11Timeout for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
199 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
200 # @param forward_x11_trusted
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
201 # Value(s) passed to ForwardX11Trusted parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
202 # Check https://man.openbsd.org/ssh_config#ForwardX11Trusted for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
203 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
204 # @param gateway_ports
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
205 # Value(s) passed to GatewayPorts parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
206 # Check https://man.openbsd.org/ssh_config#GatewayPorts for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
207 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
208 # @param global_known_hosts_file
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
209 # Value(s) passed to GlobalKnownHostsFile parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
210 # Check https://man.openbsd.org/ssh_config#GlobalKnownHostsFile for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
211 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
212 # @param gss_api_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
213 # Value(s) passed to GSSAPIAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
214 # Check https://man.openbsd.org/ssh_config#GSSAPIAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
215 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
216 # @param gss_api_delegate_credentials
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
217 # Value(s) passed to GSSAPIDelegateCredentials parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
218 # Check https://man.openbsd.org/ssh_config#GSSAPIDelegateCredentials for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
219 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
220 # @param hash_known_hosts
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
221 # Value(s) passed to HashKnownHosts parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
222 # Check https://man.openbsd.org/ssh_config#HashKnownHosts for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
223 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
224 # @param hostbased_accepted_algorithms
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
225 # Value(s) passed to HostbasedAcceptedAlgorithms parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
226 # Check https://man.openbsd.org/ssh_config#HostbasedAcceptedAlgorithms for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
227 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
228 # @param hostbased_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
229 # Value(s) passed to HostbasedAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
230 # Check https://man.openbsd.org/ssh_config#HostbasedAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
231 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
232 # @param host_key_algorithms
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
233 # Value(s) passed to HostKeyAlgorithms parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
234 # Check https://man.openbsd.org/ssh_config#HostKeyAlgorithms for possible values.
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
235 #
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
236 # @param host_key_alias
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
237 # Value(s) passed to HostKeyAlias parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
238 # Check https://man.openbsd.org/ssh_config#HostKeyAlias for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
239 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
240 # @param hostname
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
241 # Value(s) passed to Hostname parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
242 # Check https://man.openbsd.org/ssh_config#Hostname for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
243 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
244 # @param identities_only
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
245 # Value(s) passed to IdentitiesOnly parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
246 # Check https://man.openbsd.org/ssh_config#IdentitiesOnly for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
247 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
248 # @param identity_agent
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
249 # Value(s) passed to IdentityAgent parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
250 # Check https://man.openbsd.org/ssh_config#IdentityAgent for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
251 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
252 # @param identity_file
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
253 # Value(s) passed to IdentityFile parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
254 # Check https://man.openbsd.org/ssh_config#IdentityFile for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
255 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
256 # @param ignore_unknown
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
257 # Value(s) passed to IgnoreUnknown parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
258 # Check https://man.openbsd.org/ssh_config#IgnoreUnknown for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
259 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
260 # @param include
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
261 # Value(s) passed to Include parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
262 # Check https://man.openbsd.org/ssh_config#Include for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
263 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
264 # @param include_dir_owner
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
265 # The owner of the include directory
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
266 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
267 # @param include_dir_group
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
268 # The group of the include directory
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
269 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
270 # @param include_dir_mode
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
271 # The mode of the include directory
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
272 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
273 # @param include_dir_purge
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
274 # Sets whether to purge the include_dir of unmanaged files
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
275 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
276 # @param ip_qos
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
277 # Value(s) passed to IPQoS parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
278 # Check https://man.openbsd.org/ssh_config#IPQoS for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
279 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
280 # @param kbd_interactive_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
281 # Value(s) passed to KbdInteractiveAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
282 # Check https://man.openbsd.org/ssh_config#KbdInteractiveAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
283 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
284 # @param kbd_interactive_devices
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
285 # Value(s) passed to KbdInteractiveDevices parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
286 # Check https://man.openbsd.org/ssh_config#KbdInteractiveDevices for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
287 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
288 # @param kex_algorithms
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
289 # Value(s) passed to KexAlgorithms parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
290 # Check https://man.openbsd.org/ssh_config#KexAlgorithms for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
291 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
292 # @param kown_hosts_command
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
293 # Value(s) passed to KnownHostsCommand parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
294 # Check https://man.openbsd.org/ssh_config#KnownHostsCommand for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
295 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
296 # @param local_command
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
297 # Value(s) passed to LocalCommand parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
298 # Check https://man.openbsd.org/ssh_config#LocalCommand for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
299 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
300 # @param local_forward
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
301 # Value(s) passed to LocalForward parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
302 # Check https://man.openbsd.org/ssh_config#LocalForward for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
303 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
304 # @param log_level
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
305 # Value(s) passed to LogLevel parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
306 # Check https://man.openbsd.org/ssh_config#LogLevel for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
307 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
308 # @param log_verbose
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
309 # Value(s) passed to LogVerbose parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
310 # Check https://man.openbsd.org/ssh_config#LogVerbose for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
311 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
312 # @param macs
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
313 # Value(s) passed to MACs parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
314 # Check https://man.openbsd.org/ssh_config#MACs for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
315 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
316 # @param no_host_authentication_for_localhost
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
317 # Value(s) passed to NoHostAuthenticationForLocalhost parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
318 # Check https://man.openbsd.org/ssh_config#NoHostAuthenticationForLocalhost for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
319 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
320 # @param number_of_password_prompts
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
321 # Value(s) passed to NumberOfPasswordPrompts parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
322 # Check https://man.openbsd.org/ssh_config#NumberOfPasswordPrompts for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
323 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
324 # @param password_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
325 # Value(s) passed to PasswordAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
326 # Check https://man.openbsd.org/ssh_config#PasswordAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
327 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
328 # @param permit_local_command
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
329 # Value(s) passed to PermitLocalCommand parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
330 # Check https://man.openbsd.org/ssh_config#PermitLocalCommand for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
331 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
332 # @param permit_remote_open
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
333 # Value(s) passed to PermitRemoteOpen parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
334 # Check https://man.openbsd.org/ssh_config#PermitRemoteOpen for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
335 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
336 # @param pkcs11_provider
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
337 # Value(s) passed to PKCS11Provider parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
338 # Check https://man.openbsd.org/ssh_config#PKCS11Provider for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
339 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
340 # @param port
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
341 # Value(s) passed to Port parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
342 # Check https://man.openbsd.org/ssh_config#Port for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
343 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
344 # @param preferred_authentications
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
345 # Value(s) passed to PreferredAuthentications parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
346 # Check https://man.openbsd.org/ssh_config#PreferredAuthentications for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
347 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
348 # @param proxy_command
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
349 # Value(s) passed to ProxyCommand parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
350 # Check https://man.openbsd.org/ssh_config#ProxyCommand for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
351 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
352 # @param proxy_jump
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
353 # Value(s) passed to ProxyJump parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
354 # Check https://man.openbsd.org/ssh_config#ProxyJump for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
355 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
356 # @param proxy_use_fdpass
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
357 # Value(s) passed to ProxyUseFdpass parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
358 # Check https://man.openbsd.org/ssh_config#ProxyUseFdpass for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
359 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
360 # @param pubkey_accepted_algorithms
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
361 # Value(s) passed to PubkeyAcceptedAlgorithms parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
362 # Check https://man.openbsd.org/ssh_config#PubkeyAcceptedAlgorithms for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
363 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
364 # @param pubkey_authentication
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
365 # Value(s) passed to PubkeyAuthentication parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
366 # Check https://man.openbsd.org/ssh_config#PubkeyAuthentication for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
367 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
368 # @param rekey_limit
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
369 # Value(s) passed to RekeyLimit parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
370 # Check https://man.openbsd.org/ssh_config#RekeyLimit for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
371 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
372 # @param remote_command
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
373 # Value(s) passed to RemoteCommand parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
374 # Check https://man.openbsd.org/ssh_config#RemoteCommand for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
375 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
376 # @param remote_forward
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
377 # Value(s) passed to RemoteForward parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
378 # Check https://man.openbsd.org/ssh_config#RemoteForward for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
379 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
380 # @param request_tty
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
381 # Value(s) passed to RequestTTY parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
382 # Check https://man.openbsd.org/ssh_config#RequestTTY for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
383 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
384 # @param revoked_host_keys
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
385 # Value(s) passed to RevokedHostKeys parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
386 # Check https://man.openbsd.org/ssh_config#RevokedHostKeys for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
387 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
388 # @param security_key_provider
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
389 # Value(s) passed to SecurityKeyProvider parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
390 # Check https://man.openbsd.org/ssh_config#SecurityKeyProvider for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
391 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
392 # @param send_env
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
393 # Value(s) passed to SendEnv parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
394 # Check https://man.openbsd.org/ssh_config#SendEnv for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
395 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
396 # @param server_alive_count_max
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
397 # Value(s) passed to ServerAliveCountMax parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
398 # Check https://man.openbsd.org/ssh_config#ServerAliveCountMax for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
399 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
400 # @param server_alive_interval
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
401 # Value(s) passed to ServerAliveInterval parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
402 # Check https://man.openbsd.org/ssh_config#ServerAliveInterval for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
403 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
404 # @param session_type
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
405 # Value(s) passed to SessionType parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
406 # Check https://man.openbsd.org/ssh_config#SessionType for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
407 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
408 # @param set_env
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
409 # Value(s) passed to SetEnv parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
410 # Check https://man.openbsd.org/ssh_config#SetEnv for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
411 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
412 # @param stdin_null
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
413 # Value(s) passed to StdinNull parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
414 # Check https://man.openbsd.org/ssh_config#StdinNull for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
415 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
416 # @param stream_local_bind_mask
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
417 # Value(s) passed to StreamLocalBindMask parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
418 # Check https://man.openbsd.org/ssh_config#StreamLocalBindMask for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
419 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
420 # @param stream_local_bind_unlink
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
421 # Value(s) passed to StreamLocalBindUnlink parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
422 # Check https://man.openbsd.org/ssh_config#StreamLocalBindUnlink for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
423 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
424 # @param strict_host_key_checking
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
425 # Value(s) passed to StrictHostKeyChecking parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
426 # Check https://man.openbsd.org/ssh_config#StrictHostKeyChecking for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
427 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
428 # @param syslog_facility
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
429 # Value(s) passed to SyslogFacility parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
430 # Check https://man.openbsd.org/ssh_config#SyslogFacility for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
431 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
432 # @param tcp_keep_alive
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
433 # Value(s) passed to TCPKeepAlive parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
434 # Check https://man.openbsd.org/ssh_config#TCPKeepAlive for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
435 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
436 # @param tunnel
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
437 # Value(s) passed to Tunnel parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
438 # Check https://man.openbsd.org/ssh_config#Tunnel for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
439 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
440 # @param tunnel_device
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
441 # Value(s) passed to TunnelDevice parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
442 # Check https://man.openbsd.org/ssh_config#TunnelDevice for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
443 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
444 # @param update_host_keys
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
445 # Value(s) passed to UpdateHostKeys parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
446 # Check https://man.openbsd.org/ssh_config#UpdateHostKeys for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
447 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
448 # @param user
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
449 # Value(s) passed to User parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
450 # Check https://man.openbsd.org/ssh_config#User for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
451 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
452 # @param user_known_hosts_file
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
453 # Value(s) passed to UserKnownHostsFile parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
454 # Check https://man.openbsd.org/ssh_config#UserKnownHostsFile for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
455 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
456 # @param use_roaming
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
457 # Value(s) passed to the UseRoaming parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
458 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
459 # @param verify_host_key_dns
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
460 # Value(s) passed to VerifyHostKeyDNS parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
461 # Check https://man.openbsd.org/ssh_config#VerifyHostKeyDNS for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
462 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
463 # @param visual_host_key
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
464 # Value(s) passed to VisualHostKey parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
465 # Check https://man.openbsd.org/ssh_config#VisualHostKey for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
466 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
467 # @param xauth_location
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
468 # Value(s) passed to XAuthLocation parameter in ssh_config. Unused if empty.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
469 # Check https://man.openbsd.org/ssh_config#XAuthLocation for possible values.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
470 #
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
471 # @param custom
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
472 # Array of custom lines to be added to client configuration file ssh_config.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
473 # Uses one array item per line to be added.
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
474 #
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
475 class ssh (
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
476 Hash $config_entries = {},
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
477 String[1] $config_group = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
478 Stdlib::Filemode $config_mode = '0644',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
479 String[1] $config_owner = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
480 Stdlib::Absolutepath $config_path = '/etc/ssh/ssh_config',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
481 String[1] $global_known_hosts_group = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
482 Stdlib::Filemode $global_known_hosts_mode = '0644',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
483 String[1] $global_known_hosts_owner = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
484 Stdlib::Absolutepath $global_known_hosts_path = '/etc/ssh/ssh_known_hosts',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
485 Hash $keys = {},
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
486 Boolean $manage_global_known_hosts = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
487 Boolean $manage_root_ssh_config = false,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
488 Boolean $manage_server = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
489 Boolean $manage_sshkey = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
490 Boolean $manage_packages = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
491 Array[String[1]] $packages = [],
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
492 Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $packages_ensure = 'installed',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
493 Optional[Stdlib::Absolutepath] $packages_adminfile = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
494 Optional[Stdlib::Absolutepath] $packages_source = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
495 Boolean $purge_keys = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
496 String[1] $root_ssh_config_content = "# This file is being maintained by Puppet.\n# DO NOT EDIT\n",
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
497 Hash $config_files = {},
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
498 # class parameters below this line directly correlate with ssh_config parameters
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
499 Optional[String[1]] $host = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
500 Optional[Enum['yes', 'no', 'ask', 'confirm']] $add_keys_to_agent = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
501 Optional[Enum['any', 'inet', 'inet6']] $address_family = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
502 Optional[Ssh::Yes_no] $batch_mode = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
503 Optional[String[1]] $bind_address = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
504 Optional[String[1]] $bind_interface = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
505 Optional[Array[String[1]]] $canonical_domains = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
506 Optional[Ssh::Yes_no] $canonicalize_fallback_local = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
507 Optional[Enum['yes', 'no', 'always']] $canonicalize_hostname = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
508 Optional[Integer[0]] $canonicalize_max_dots = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
509 Optional[Array[String[1]]] $canonicalize_permitted_cnames = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
510 Optional[Array[String[1]]] $ca_signature_algorithms = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
511 Optional[Array[String[1]]] $certificate_file = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
512 Optional[Ssh::Yes_no] $check_host_ip = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
513 Optional[Array[String[1]]] $ciphers = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
514 Optional[Ssh::Yes_no] $clear_all_forwardings = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
515 Optional[Ssh::Yes_no] $compression = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
516 Optional[Integer[0]] $connection_attempts = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
517 Optional[Integer[0]] $connect_timeout = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
518 Optional[Enum['yes', 'no', 'ask', 'auto', 'autoask']] $control_master = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
519 Optional[String[1]] $control_path = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
520 Optional[String[1]] $control_persist = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
521 Optional[String[1]] $dynamic_forward = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
522 Optional[Ssh::Yes_no] $enable_ssh_keysign = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
523 Optional[String[1]] $escape_char = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
524 Optional[Ssh::Yes_no] $exit_on_forward_failure = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
525 Optional[Enum['sha256', 'md5']] $fingerprint_hash = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
526 Optional[Ssh::Yes_no] $fork_after_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
527 Optional[Ssh::Yes_no] $forward_agent = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
528 Optional[Ssh::Yes_no] $forward_x11 = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
529 Variant[Undef, String[1], Integer[0]] $forward_x11_timeout = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
530 Optional[Ssh::Yes_no] $forward_x11_trusted = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
531 Optional[Ssh::Yes_no] $gateway_ports = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
532 Optional[Array[String[1]]] $global_known_hosts_file = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
533 Optional[Ssh::Yes_no] $gss_api_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
534 Optional[Ssh::Yes_no] $gss_api_delegate_credentials = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
535 Optional[Ssh::Yes_no] $hash_known_hosts = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
536 Optional[Array[String[1]]] $hostbased_accepted_algorithms = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
537 Optional[Ssh::Yes_no] $hostbased_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
538 Optional[Array[String[1]]] $host_key_algorithms = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
539 Optional[String[1]] $host_key_alias = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
540 Optional[String[1]] $hostname = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
541 Optional[Ssh::Yes_no] $identities_only = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
542 Optional[String[1]] $identity_agent = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
543 Optional[Array[String[1]]] $identity_file = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
544 Optional[Array[String[1]]] $ignore_unknown = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
545 Optional[Stdlib::Absolutepath] $include = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
546 String[1] $include_dir_owner = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
547 String[1] $include_dir_group = 'root',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
548 Stdlib::Filemode $include_dir_mode = '0755',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
549 Boolean $include_dir_purge = true,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
550 Optional[String[1]] $ip_qos = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
551 Optional[Ssh::Yes_no] $kbd_interactive_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
552 Optional[Array[String[1]]] $kbd_interactive_devices = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
553 Optional[Array[String[1]]] $kex_algorithms = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
554 Optional[String[1]] $kown_hosts_command = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
555 Optional[String[1]] $local_command = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
556 Optional[String[1]] $local_forward = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
557 Optional[Ssh::Log_level] $log_level = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
558 Optional[String[1]] $log_verbose = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
559 Optional[Array[String[1]]] $macs = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
560 Optional[Ssh::Yes_no] $no_host_authentication_for_localhost = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
561 Optional[Integer] $number_of_password_prompts = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
562 Optional[Ssh::Yes_no] $password_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
563 Optional[Ssh::Yes_no] $permit_local_command = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
564 Optional[Array[String[1]]] $permit_remote_open = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
565 Optional[String[1]] $pkcs11_provider = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
566 Optional[Stdlib::Port] $port = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
567 Optional[Array[String[1]]] $preferred_authentications = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
568 Optional[String[1]] $proxy_command = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
569 Optional[Array[String[1]]] $proxy_jump = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
570 Optional[Ssh::Yes_no] $proxy_use_fdpass = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
571 Optional[Array[String[1]]] $pubkey_accepted_algorithms = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
572 Optional[Ssh::Yes_no] $pubkey_authentication = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
573 Optional[String[1]] $rekey_limit = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
574 Optional[String[1]] $remote_command = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
575 Optional[String[1]] $remote_forward = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
576 Optional[Enum['no', 'yes', 'force', 'auto']] $request_tty = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
577 Optional[String[1]] $revoked_host_keys = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
578 Optional[String[1]] $security_key_provider = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
579 Optional[Array[String[1]]] $send_env = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
580 Variant[Undef, String[1], Integer[0]] $server_alive_count_max = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
581 Variant[Undef, String[1], Integer[0]] $server_alive_interval = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
582 Optional[Enum['default', 'none', 'subsystem']] $session_type = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
583 Optional[Array[String[1]]] $set_env = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
584 Optional[Ssh::Yes_no] $stdin_null = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
585 Optional[Pattern[/^[0-7]{4}$/]] $stream_local_bind_mask = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
586 Optional[Ssh::Yes_no] $stream_local_bind_unlink = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
587 Optional[Enum['yes', 'no', 'accept-new', 'off', 'ask']] $strict_host_key_checking = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
588 Optional[Ssh::Syslog_facility] $syslog_facility = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
589 Optional[Ssh::Yes_no] $tcp_keep_alive = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
590 Optional[Enum['yes', 'no', 'point-to-point', 'ethernet']] $tunnel = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
591 Optional[String[1]] $tunnel_device = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
592 Optional[Enum['yes', 'no', 'ask']] $update_host_keys = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
593 Optional[String[1]] $user = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
594 Optional[Array[String[1]]] $user_known_hosts_file = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
595 Optional[Ssh::Yes_no] $use_roaming = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
596 Optional[Enum['yes', 'no', 'ask']] $verify_host_key_dns = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
597 Optional[Ssh::Yes_no] $visual_host_key = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
598 Optional[String[1]] $xauth_location = undef,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
599 # custom is a string that allows for multiple lines to be appended to end of
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
600 # the ssh_config file.
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
601 Optional[Array[String[1]]] $custom = undef
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
602 ) {
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
603 if $manage_packages {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
604 package { $packages:
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
605 ensure => $packages_ensure,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
606 source => $packages_source,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
607 adminfile => $packages_adminfile,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
608 before => 'File[ssh_config]',
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
609 }
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
610 $packages_require = Package[$packages]
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
611 } else {
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
612 $packages_require = undef
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
613 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
614
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
615 file { 'ssh_config' :
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
616 ensure => file,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
617 path => $config_path,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
618 owner => $config_owner,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
619 group => $config_group,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
620 mode => $config_mode,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
621 content => template('ssh/ssh_config.erb'),
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
622 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
623
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
624 if $include {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
625 $include_dir = dirname($include)
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
626 file { 'ssh_config_include_dir':
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
627 ensure => 'directory',
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
628 path => $include_dir,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
629 owner => $include_dir_owner,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
630 group => $include_dir_group,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
631 mode => $include_dir_mode,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
632 purge => $include_dir_purge,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
633 recurse => $include_dir_purge,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
634 force => $include_dir_purge,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
635 require => $packages_require,
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
636 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
637 } else {
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
638 $include_dir = undef
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
639 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
640
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
641 if $manage_root_ssh_config == true {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
642 exec { "mkdir_p-${facts['root_home']}/.ssh":
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
643 command => "mkdir -p ${facts['root_home']}/.ssh",
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
644 unless => "test -d ${facts['root_home']}/.ssh",
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
645 path => '/bin:/usr/bin',
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
646 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
647
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
648 file { 'root_ssh_dir':
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
649 ensure => directory,
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
650 path => "${facts['root_home']}/.ssh",
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
651 owner => 'root',
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
652 group => 'root',
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
653 mode => '0700',
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
654 require => Exec["mkdir_p-${facts['root_home']}/.ssh"],
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
655 }
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
656
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
657 file { 'root_ssh_config':
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
658 ensure => file,
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
659 path => "${facts['root_home']}/.ssh/config",
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
660 content => $root_ssh_config_content,
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
661 owner => 'root',
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
662 group => 'root',
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
663 mode => '0600',
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
664 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
665 }
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
666
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
667 if $manage_global_known_hosts == true {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
668 file { 'global_known_hosts':
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
669 ensure => file,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
670 path => $global_known_hosts_path,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
671 owner => $global_known_hosts_owner,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
672 group => $global_known_hosts_group,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
673 mode => $global_known_hosts_mode,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
674 require => 'File[ssh_config]',
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
675 }
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
676 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
677
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
678 # remove ssh key's not managed by puppet
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
679 if $manage_sshkey == true {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
680 resources { 'sshkey':
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
681 purge => $purge_keys,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
682 }
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
683 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
684
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
685 # manage users' ssh config entries if present
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
686 $config_entries.each |$key,$values| {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
687 ssh::config_entry { $key:
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
688 * => $values,
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
689 }
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
690 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
691
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
692 # manage users' ssh authorized keys if present
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
693 $keys.each |$key,$values| {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
694 ssh_authorized_key { $key:
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
695 * => $values,
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
696 }
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
697 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
698
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
699 $config_files.each |$file, $lines| {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
700 ssh::config_file_client { $file:
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
701 * => $lines,
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
702 }
385
d9009f54eb23 Migrate to a fully-fledged SSH module
IBBoard <dev@ibboard.co.uk>
parents: 246
diff changeset
703 }
478
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
704
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
705 if $manage_server == true {
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
706 include ssh::server
adf6fe9bbc17 Update Puppet modules to latest versions
IBBoard <dev@ibboard.co.uk>
parents: 438
diff changeset
707 }
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
708 }