diff options
author | lhinds <lhinds@redhat.com> | 2017-03-23 13:41:42 +0000 |
---|---|---|
committer | lhinds <lhinds@redhat.com> | 2017-04-06 13:30:50 +0100 |
commit | 99455380692f233f64c7fb68eb8a11105d39f5ac (patch) | |
tree | 70987a55443cf1cb176c039d900fb82fd69360bd /puppet | |
parent | cd6128d0a54989926709f42b7be80bf5daba2f8f (diff) |
Adds service for managing securetty
This adds the ability to manage the securetty file.
By allowing management of securetty, operators can limit root
console access and improve security through hardening.
Change-Id: I0767c9529b40a721ebce1eadc2dea263e0a5d4d7
Partial-Bug: #1665042
Depends-On: Ic4647fb823bd112648c5b8d102913baa8b4dac1c
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/securetty.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/puppet/services/securetty.yaml b/puppet/services/securetty.yaml new file mode 100644 index 00000000..6d32fe82 --- /dev/null +++ b/puppet/services/securetty.yaml @@ -0,0 +1,36 @@ +heat_template_version: ocata + +description: > + Configure securetty values + +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 + TtyValues: + default: {} + description: Configures console values in securetty + type: json + constraints: + - length: { min: 1} + +outputs: + role_data: + description: Console data for the securetty + value: + service_name: securetty + config_settings: + tripleo::profile::base::securetty::tty_list: {get_param: TtyValues} + step_config: | + include ::tripleo::profile::base::securetty |