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

Multiple paths in --modulepath command line option not parsed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.5.0
    • Fix Version/s: PUP 3.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Puppet 'master' (git 545b95fc5)

    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-05 to 2014-3-12, Week 2014-3-12 to 2014-3-19

      Description

      In Puppet 3.4 and earlier, multiple paths could be supplied with the --modulepath option, but as of PUP-1765, there has been a regression and they no longer work.

      $ git co 3.4.3
      Note: checking out '3.4.3'.
      $ bin/puppet apply --modulepath /tmp:/tmp/test/ --noop -e 'include ntp'
      Notice: Compiled catalog for cobalt.redhat.com in environment production in 0.76 seconds
      Notice: /Stage[main]/Ntp/Package[ntp]/ensure: current_value absent, should be present (noop)
      Notice: /Stage[main]/Ntp/File[/etc/ntp.conf]/ensure: current_value absent, should be present (noop)
      Notice: /Stage[main]/Ntp/File[/etc/sysconfig/ntpd]/ensure: current_value absent, should be present (noop)
      Notice: /Stage[main]/Ntp/Service[ntpd]/ensure: current_value stopped, should be running (noop)
      Notice: Class[Ntp]: Would have triggered 'refresh' from 4 events
      Notice: Stage[main]: Would have triggered 'refresh' from 1 events
      Notice: Finished catalog run in 0.99 seconds
      

      $ git co master
      Previous HEAD position was bbe30e0... (packaging) Update PUPPETVERSION to 3.4.3
      Switched to branch 'master'
      $ bin/puppet apply --modulepath /tmp:/tmp/test/ --noop -e 'include ntp'
      Error: Could not find class ntp for cobalt.redhat.com on node cobalt.redhat.com
      Error: Could not find class ntp for cobalt.redhat.com on node cobalt.redhat.com
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andy Andrew Parker
                Reporter:
                domcleal Dominic Cleal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support