summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-27 12:29:12 +0000
committerGerrit Code Review <review@openstack.org>2017-01-27 12:29:12 +0000
commitef741fab9bf8f649be6ec8f7cef14f5b841f93c6 (patch)
treee4c521d24dbe993b2fe38531e3c24c0b81a531a8 /puppet/services
parent91a231d80815dc2ad45cc9502151e68b636090d0 (diff)
parent73f58792f90942be1e2dc0ef67eac0a47d9aba18 (diff)
Merge "Adds SSH Banner text into sshd_config"
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/sshd.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/puppet/services/sshd.yaml b/puppet/services/sshd.yaml
new file mode 100644
index 00000000..41e144a0
--- /dev/null
+++ b/puppet/services/sshd.yaml
@@ -0,0 +1,34 @@
+heat_template_version: ocata
+
+description: >
+ Configure sshd_config
+
+parameters:
+ ServiceNetMap:
+ default: {}
+ description: Mapping of service_name -> network name. Typically set
+ via parameter_defaults in the resource registry. This
+ mapping overrides those in ServiceNetMapDefaults.
+ type: json
+ DefaultPasswords:
+ default: {}
+ type: json
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ BannerText:
+ default: ''
+ description: Configures Banner text in sshd_config
+ type: string
+
+outputs:
+ role_data:
+ description: Role data for the ssh
+ value:
+ service_name: sshd
+ config_settings:
+ BannerText: {get_param: BannerText}
+ step_config: |
+ include ::tripleo::profile::base::sshd