Jira (PUP-9332) deprecation message about source_permissions parameter with file resource

1 view
Skip to first unread message

Dan33l (JIRA)

unread,
Nov 26, 2018, 5:12:02 PM11/26/18
to puppe...@googlegroups.com
Dan33l created an issue
 
Puppet / Bug PUP-9332
deprecation message about source_permissions parameter with file resource
Issue Type: Bug Bug
Affects Versions: PUP 6.0.4, PUP 5.5.8
Assignee: Unassigned
Components: DSL
Created: 2018/11/26 2:11 PM
Priority: Normal Normal
Reporter: Dan33l

Puppet Version:
Puppet Server Version:
OS Name/Version: Any Linux tested.

We (Voxpupuli) 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.

It appears linked with https://tickets.puppetlabs.com/browse/PUP-5921

But docs about types does not show deprecation message.

The deprecation message is it yet relevant ?

Desired Behavior:

No deprecation warning.

Actual Behavior:

$> 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'

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Dec 3, 2018, 1:26:02 PM12/3/18
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9332
 
Re: deprecation message about source_permissions parameter with file resource

Dan33l The deprecation warning is expected. It sounds like we need to update the inline documentation for the source_permissions parameter to explain this better.

Josh Cooper (JIRA)

unread,
Dec 3, 2018, 1:26:03 PM12/3/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Dec 3, 2018, 1:27:03 PM12/3/18
to puppe...@googlegroups.com

Steve Shipway (Jira)

unread,
Oct 13, 2022, 12:20:03 AM10/13/22
to puppe...@googlegroups.com
Steve Shipway commented on Bug PUP-9332
 
Re: deprecation message about source_permissions parameter with file resource

The source_permissions attribute is also desirable for us, as we use it to populate a chroot environment from OS files.  Having a 'use_mode_only' might be a good compromise for cases where the files are being copied cross-system?

This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages