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

puppet describe --list requires the description to include a period

    XMLWordPrintable

Details

    • Coremunity
    • Platform Core KANBAN
    • Bug Fix
    • puppet describe now displays summary information for each type and provider regardless of whether they summary contains a period or not.

    Description

      Given this code:

          Puppet::Type.newtype(:rcsrepo) do
            desc 'A local version control repository'
            ensurable
            ...
          end
      

      I see this behavior.

          [root@master ~]# puppet describe --list | grep rcsrepo
          rcsrepo         - .. no documentation ..
          [root@master ~]# puppet describe rcsrepo
       
          rcsrepo
          =======
          A local version control repository
      

      If I add a period at the end, `puppet describe --list` outputs as expected.

      See https://github.com/puppetlabs/puppet/blob/master/lib/puppet/application/describe.rb#L73(https://github.com/puppetlabs/puppet/blob/master/lib/puppet/application/describe.rb#L73)

      Why is this?

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              redmine.exporter redmine.exporter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support