Jira (PUP-6939) New users are confused by package's ensure=>$version

4 views
Skip to first unread message

David Schmitt (JIRA)

unread,
Nov 24, 2016, 6:07:42 AM11/24/16
to puppe...@googlegroups.com
David Schmitt created an issue
 
Puppet / Story PUP-6939
New users are confused by package's ensure=>$version
Issue Type: Story Story
Assignee: Unassigned
Components: Types and Providers
Created: 2016/11/24 3:06 AM
Priority: Normal Normal
Reporter: David Schmitt

As a new user looking at package resources
The lack of a "version" property is confusing.

This was found by the Next-Gen team during review.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

David Schmitt (JIRA)

unread,
Nov 24, 2016, 6:12:02 AM11/24/16
to puppe...@googlegroups.com
David Schmitt commented on Story PUP-6939
 
Re: New users are confused by package's ensure=>$version

This will require a long-term migration to

a) provide the version property as an alternative to specifying the version in the ensure
b) once this is available to "many" users, start complaining about version strings in ensure in puppet-lint
c) once this is available to "most" users, start deprecating version strings in ensure at runtime
d) once "most" deprecations are addressed, remove the original functionality in the next major puppet version

Matthew Thode (JIRA)

unread,
Jan 13, 2017, 11:22:03 AM1/13/17
to puppe...@googlegroups.com
Matthew Thode commented on Story PUP-6939

This would also allow us to remove specific versions of versionable packages. see https://projects.puppetlabs.com/issues/2061 for the old discussion.

Matthew Thode (JIRA)

unread,
Jan 13, 2017, 6:22:03 PM1/13/17
to puppe...@googlegroups.com
Matthew Thode commented on Story PUP-6939

You could actually overload the package name instead.

1. providers learn how to parse package names based on their package naming guidelines
2. warn about version strings in `ensure`
3. once this is available to "most" users, start deprecating version strings in ensure at runtime
4. once "most" deprecations are addressed, remove the original functionality in the next major puppet version

Basically the same, but without a new property.

Matthew Thode (JIRA)

unread,
Jan 13, 2017, 6:37:02 PM1/13/17
to puppe...@googlegroups.com
Matthew Thode commented on Story PUP-6939

An example of this is https://gist.github.com/80860761d3f523b4e19fa2e99c96e613 (didn't see a way to upload)

specifically for gentoo the qatom binary allows us to parse package names

Maggie Dreyer (JIRA)

unread,
May 16, 2017, 4:29:03 PM5/16/17
to puppe...@googlegroups.com

Maggie Dreyer (JIRA)

unread,
May 16, 2017, 4:29:03 PM5/16/17
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
Labels: needs_decision  triaged

Moses Mendoza (JIRA)

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

Branan Riley (JIRA)

unread,
May 11, 2018, 6:43:03 PM5/11/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: beaking future needs_decision package triaged type_and_provider
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Branan Riley (JIRA)

unread,
May 14, 2018, 8:51:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: beaking breaking future needs_decision package triaged type_and_provider

Josh Cooper (Jira)

unread,
Mar 5, 2020, 12:50:04 AM3/5/20
to puppe...@googlegroups.com
Josh Cooper commented on Story PUP-6939
 
Re: New users are confused by package's ensure=>$version

We're unlikely to deprecate specifying version strings in the package ensure property as this would literally cause issues for every puppet user. Closing this.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages