-
-
Notifications
You must be signed in to change notification settings - Fork 203
Open
vshn/puppet-openvpn
#3Labels
enhancementNew feature or requestNew feature or request
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5 or 6
- Ruby:
- Distribution: any
- Module version: 7.4.0
How to reproduce (e.g Puppet code you use)
What are you seeing
We are using file resource with source_permissions attribute here :
https://github.com/voxpupuli/puppet-openvpn/blob/master/manifests/ca.pp#L63
It looks to do the expected job and docs about types does not show deprecation message.
The deprecation message is relevant :
https://tickets.puppetlabs.com/browse/PUP-9332
What behaviour did you expect instead
no deprecation message
Output log
$> puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.3BVJmE
Info: Loading facts
Info: Loading facts
Notice: Compiled catalog for vpnserver in environment production in 0.21 seconds
Warning: The `source_permissions` parameter is deprecated. Explicitly set `owner`, `group`, and `mode`.
(file: /etc/puppetlabs/code/modules/openvpn/manifests/ca.pp, line: 59)
Info: Applying configuration version '1543266749'
Any additional information you'd like to impart
Probably, it should be possible to use https://github.com/puppetlabs/puppetlabs-rsync , instead of file resource.
wesselsd, vanElden, antondollmaier, jameskirsop and woodychuck
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request