From 0ac7da0dc27f81af54a26231ec728f6ccfe06d12 Mon Sep 17 00:00:00 2001 From: mergwyn Date: Mon, 6 Jul 2020 20:57:32 +0100 Subject: [PATCH] Remove type to make puppet 3 compatible --- manifests/init.pp | 4 ++-- types/include.pp | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 types/include.pp diff --git a/manifests/init.pp b/manifests/init.pp index 9909b45..6488a97 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -110,7 +110,7 @@ class ssh ( $ssh_config_global_known_hosts_group = 'root', $ssh_config_global_known_hosts_mode = '0644', $ssh_config_user_known_hosts_file = undef, - Optional[Ssh::Include] $ssh_config_include = 'USE_DEFAULTS', + $ssh_config_include = 'USE_DEFAULTS', $config_entries = {}, $keys = undef, $manage_root_ssh_config = false, @@ -123,7 +123,7 @@ class ssh ( $sshd_config_key_revocation_list = undef, $sshd_config_authorized_principals_file = undef, $sshd_config_allowagentforwarding = undef, - Optional[Ssh::Include] $sshd_config_include = 'USE_DEFAULTS', + $sshd_config_include = 'USE_DEFAULTS', ) { case $::osfamily { diff --git a/types/include.pp b/types/include.pp deleted file mode 100644 index f5b5f20..0000000 --- a/types/include.pp +++ /dev/null @@ -1,5 +0,0 @@ -# config files to be includes -# @summary -# directory of array of directories to be included -# -type Ssh::Include = Variant[String[1],Array[String[1]]]