From 700cd4d3bbf2a37fb86ccaf6cb4a125d3fb7b678 Mon Sep 17 00:00:00 2001 From: Casey Williams Date: Thu, 11 Oct 2018 12:03:25 -0700 Subject: [PATCH] (MODULES-7791) Remove deprecated source_permissions `source_permissions` is deprecated in puppet6; remove it and use the defaults to quiet warnings (The default permissions behavior in puppet 4, 5, and 6 is to use the puppet agent user and that user's default umask or DACL). --- manifests/prepare.pp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/manifests/prepare.pp b/manifests/prepare.pp index d5e4ac423..183fdd51c 100644 --- a/manifests/prepare.pp +++ b/manifests/prepare.pp @@ -17,17 +17,6 @@ ){ include puppet_agent::params $_windows_client = downcase($::osfamily) == 'windows' - if $_windows_client { - - File{ - source_permissions => ignore, - } - } - else { - File { - source_permissions => use, - } - } # Manage /opt/puppetlabs for platforms. This is done before both config and prepare because, # on Windows, both can be in C:/ProgramData/Puppet Labs; doing it later creates a dependency