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

environment returned from ENC makes site.pp not be included

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 3.8.6, PUP 3.8.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Sprint:
      Forge - To Accept

      Description

      This issue is still present in puppet-3.8.6-1puppetlabs on Ubuntu 14.04:

      ENC returning nothing...

      root@trusty:~# /vagrant/enc 
      ---
      classes: []
      

      root@trusty:~# cat test.pp 
      notify { "test.pp": }
      notify { "${environment}": }
      

      root@trusty:~# puppet apply test.pp 
      Notice: Compiled catalog for trusty.vagrant in environment vagrant in 0.42 seconds
      Notice: vagrant
      Notice: /Stage[main]/Main/Notify[vagrant]/message: defined 'message' as 'vagrant'
      Notice: test.pp
      Notice: /Stage[main]/Main/Notify[test.pp]/message: defined 'message' as 'test.pp'
      Notice: Finished catalog run in 0.03 seconds
      

      Give the same environment from ENC...

      root@trusty:~# /vagrant/enc 
      ---
      classes: []
      environment: vagrant
      

      root@trusty:~# puppet apply test.pp 
      Notice: Compiled catalog for trusty.vagrant in environment vagrant in 0.41 seconds
      Notice: Finished catalog run in 0.02 seconds
      

      Nothing gets executed!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robmbrooks Robert Brooks
                Reporter:
                robmbrooks Robert Brooks
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support