Jira (PUP-1043) Remove ability to specify file checksum in `content` property

17 views
Skip to first unread message

Nicholas Fagerlund (JIRA)

unread,
May 15, 2017, 1:44:05 PM5/15/17
to puppe...@googlegroups.com
Nicholas Fagerlund updated an issue
 
Puppet / Bug PUP-1043
Remove ability to specify file checksum in `content` property
Change By: Nicholas Fagerlund
Summary: Deprecate and remove Remove  ability to specify file checksum in `content` property
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Nicholas Fagerlund (JIRA)

unread,
May 15, 2017, 1:46:04 PM5/15/17
to puppe...@googlegroups.com
Nicholas Fagerlund updated an issue
We added The {{checksum_value}} attribute is  the  co  replacement for this use case (setting content => <md5 chucksum>), but you can still use magic {{content}} values. We have to remove this, but it needs to be on a major version boundary, probably Puppet 6. 

--- 

Previous description:

Rather than passing around the contents of a file (e.g. in logs) we use the checksum; to support this the user is also allowed to _specify_ the contents as a checksum, but this leads to an ambiguity when the actual contents match the checksum pattern.

Instead of trying to do magic, we should have distinct syntax for referring to the contents by checksum (which should _always_ expect a valid checksum) and for specifying the contents literally (which shouldn't do anything different if the contents happen to resemble a checksum).

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:44:32 PM5/18/17
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Mar 19, 2018, 5:29:03 PM3/19/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sub-team: Coremunity
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jacob Helwig (JIRA)

unread,
Mar 27, 2018, 4:55:04 PM3/27/18
to puppe...@googlegroups.com
Jacob Helwig updated an issue
Change By: Jacob Helwig
Sprint: Platform Core Hopper

Jennifer Solman (JIRA)

unread,
Apr 24, 2018, 1:20:04 PM4/24/18
to puppe...@googlegroups.com
Jennifer Solman updated an issue
Change By: Jennifer Solman
The {{checksum_value}} Using the source attribute to access static catalogs is the replacement for this use case (setting content => <md5 chucksum>), but you can still use magic {{content}} values. We have to remove this, but it needs to be on a major version boundary, probably Puppet 6.

---

Please ensure consistency with the deprecation warning provided to users:

Using a checksum in a file\'s "content" property is deprecated. The ability to use a checksum to retrieve content from the filebucket using the "content" property will be removed in a future release. The literal value of the "content" property will be written to the file. Functionality is being replaced by the use of static catalogs. See https://puppet.com/docs/puppet/latest/static_catalogs.html for more information.

 



Previous description:

Rather than passing around the contents of a file (e.g. in logs) we use the checksum; to support this the user is also allowed to _specify_ the contents as a checksum, but this leads to an ambiguity when the actual contents match the checksum pattern.


Instead of trying to do magic, we should have distinct syntax for referring to the contents by checksum (which should _always_ expect a valid checksum) and for specifying the contents literally (which shouldn't do anything different if the contents happen to resemble a checksum).

Jennifer Solman (JIRA)

unread,
Apr 24, 2018, 1:20:06 PM4/24/18
to puppe...@googlegroups.com
Jennifer Solman updated an issue
Using the source attribute to access static catalogs is the replacement for this use case (setting content => <md5 chucksum>), but you can still use magic {{content}} values. We have to remove this, but it needs to be on a major version boundary, probably Puppet 6.

Please ensure consistency with the deprecation warning provided to users:

Using a checksum in a file\'s "content" property is deprecated. The ability to use a checksum to retrieve content from the filebucket using the "content" property will be removed in a future release. The literal value of the "content" property will be written to the file. Functionality is being replaced by the use of static catalogs. See
 



Previous description:

Rather than passing around the contents of a file (e.g. in logs) we use the checksum; to support this the user is also allowed to _specify_ the contents as a checksum, but this leads to an ambiguity when the actual contents match the checksum pattern.

Jacob Helwig (JIRA)

unread,
Aug 27, 2018, 1:11:06 PM8/27/18
to puppe...@googlegroups.com
Jacob Helwig assigned an issue to Jacob Helwig
Change By: Jacob Helwig
Assignee: Eric Sorenson Jacob Helwig

Jacob Helwig (JIRA)

unread,
Aug 27, 2018, 4:57:03 PM8/27/18
to puppe...@googlegroups.com
Jacob Helwig updated an issue
Change By: Jacob Helwig
Sprint: Platform Core Hopper KANBAN

Jacob Helwig (JIRA)

unread,
Sep 5, 2018, 12:42:03 PM9/5/18
to puppe...@googlegroups.com

Jacob Helwig (JIRA)

unread,
Sep 5, 2018, 12:43:04 PM9/5/18
to puppe...@googlegroups.com
Jacob Helwig commented on Bug PUP-1043
 
Re: Remove ability to specify file checksum in `content` property

This is turning into fairly major surgery to the File type, and will not be done in time for 6.0.0. We'll have to work on this for 7.0.0.

Rob Braden (JIRA)

unread,
Sep 18, 2018, 7:16:06 PM9/18/18
to puppe...@googlegroups.com
Rob Braden updated an issue
 
Change By: Rob Braden
Sprint: Platform Core KANBAN Hopper

Josh Cooper (JIRA)

unread,
Sep 26, 2018, 9:04:05 PM9/26/18
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 11, 2020, 2:27:03 AM6/11/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-7548
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages