Jira (PUP-9321) Document package latest enablerepos feature

8 views
Skip to first unread message

Michelle Fredette (JIRA)

unread,
Nov 16, 2018, 7:03:04 PM11/16/18
to puppe...@googlegroups.com
Michelle Fredette moved an issue
 
Puppet / Improvement PUP-9321
Document package latest enablerepos feature
Change By: Michelle Fredette
Component/s: Configuration Management
Workflow: Documentation Scrum Team Workflow
Key: DOCUMENT PUP - 570 9321
Project: Documentation Puppet
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Michelle Fredette (JIRA)

unread,
Nov 16, 2018, 7:03:06 PM11/16/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Oct 1, 2019, 1:06:03 AM10/1/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Component/s: Docs

Josh Cooper (JIRA)

unread,
Oct 1, 2019, 1:06:03 AM10/1/19
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Unassigned
Change By: Josh Cooper
Assignee: Rob Braden

Josh Cooper (JIRA)

unread,
Oct 1, 2019, 1:06:03 AM10/1/19
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 13, 2020, 12:34:03 AM3/13/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity Night's Watch
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Mar 13, 2020, 12:34:04 AM3/13/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
https://docs.puppet.com/puppet/latest/reference/type.html#package  

is missing a description that if you use --enablerepos it needs to be done as a hash.   I was only able to find out by looking at the code

Works:
{code:puppet}
  package {
    $package:
      install_options => { '--enablerepo' => "custom-repo-x86_64"},
      ensure => latest;
  }
{code}

Does not work with ensure => latest because puppet does not know to enable repos while checking to see if there is a newer version
{code:puppet}
  package {
    $package:
      install_options => '--enablerepo=custom-repo-x86_64'},
      ensure => latest;
   }

{code}

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:47:02 AM12/2/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: generated-docs tbd
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages