Skip to content

Commit

Permalink
(MODULES-7791) Remove deprecated source_permissions
Browse files Browse the repository at this point in the history
`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).
  • Loading branch information
caseywilliams committed Oct 12, 2018
1 parent 53ef218 commit 700cd4d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions manifests/prepare.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 700cd4d

Please sign in to comment.