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

Puppet Agent for Window environment no longer can be override by ENC

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 6.25.0
    • None
    • None
    • None
    • Needs Assessment
    • Needs Assessment

    Description

      After upgrade from 6.24 to 6.25 puppet-agent no longer react on ENC override for environment.
      Specifying environment from config file and CLi works.

      ```

      Debug: Environment not passed via CLI and no catalog was given, attempting to find out the last server-specified environment
      Debug: Could not find a usable environment in the lastrunfile. Either the file does not exist, does not have the required keys, or the values of 'initial_environment' and 'converged_environment' are identical.
      Info: Using environment 'production'

      ```

      last_run
      ```
      — !ruby/object:Puppet::Transaction::Report
      host: puppet-tst-19.spcph.local
      time: '2021-10-22T16:00:45.953178000+02:00'
      configuration_version:
      transaction_uuid: 7642766d-c60d-48ed-a09a-c1e4204ea1ab
      report_format: 11
      puppet_version: 6.25.0
      status: failed
      transaction_completed: false
      noop: true
      noop_pending: false
      environment: production
      logs:

      • level: debug
        message: Environment not passed via CLI and no catalog was given, attempting to
        find out the last server-specified environment
        source: Puppet
        tags:
      • debug
        time: '2021-10-22T16:00:47.256460000+02:00'
        file:
        line:
      • level: debug
        message: Could not find a usable environment in the lastrunfile. Either the file
        does not exist, does not have the required keys, or the values of 'initial_environment'
        and 'converged_environment' are identical.
        source: Puppet
        tags:
      • debug
        time: '2021-10-22T16:00:47.259240000+02:00'
        file:
        line:
      • level: info
        message: Using environment 'production'
        source: Puppet
        ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcinbojko MARCIN BOJKO
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support