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

puppet generate types outputs bogus paths of generated files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.6.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      That generate provides feedback about the actual generated path.

      Show
      That generate provides feedback about the actual generated path.
    • Story Points:
      1
    • Sprint:
      Language 2016-08-24
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      When the 'generate type' command reported that it generated output to a path the path was always wrong. This had no other consequences than misinforming the user watching the generate commands output.

      Description

      The command puppet generate types outputs a line similar to this for each type that is generated:

      Notice: Generating '/<env-root>/modules/stdlib/pcore/types/file_line.pp' using 'pcore' format.
      

      but the actual file ends up here /<env-root>/.resource_types/file_line.pp. The path mentioned in the notice doesn't exist.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  phong Phong Ly
                  Reporter:
                  thomas.hallgren Thomas Hallgren
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: