Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2175

Consider Adding Provider To The Default Output of `puppet resource package`

    XMLWordPrintable

Details

    • Platform OS
    • Platform OS Kanban
    • New Feature
    • `puppet resource <package>` now includes the package provider as part of its output.

    Description

      The default output of puppet resource package is just the ensure parameter.

      [root@master321-centos ~]# puppet resource package
      package { 'ConsoleKit':
        ensure => '0.4.1-3.el6',
      }
      ...
      

      It would be nice if the provider was also printed (especially when the provider is different than the operating system default). This capability is already present it is just not the default.

      [root@master321-centos ~]# puppet resource package --param provider
      package { 'ConsoleKit':
        ensure   => '0.4.1-3.el6',
        provider => 'yum',
      }
      ....
      

      This is particularly pertinent on Solaris 11 where by default the system comes configured with packages in both the Solaris 10 and Solaris 11 format.

      Attachments

        Issue Links

          Activity

            People

              enis.inan Enis Inan
              nick.walker Nick Walker
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support