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

Update to puppet-agent 1.9.0-1jessie breaks puppet master

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Debian GNU/Linux 8 (jessie)
      puppetlabs-release-pc1 1.1.0-4jessie
      puppet-agent 1.9.0-1jessie

    • Puppet Developer Experience
    • Needs Assessment

    Description

      Hello,

      after upgrading puppet-agent to version 1.9 on our puppet server
      a class defined in hieradata/os/Debian.yaml will not be rolled out
      any more. Thus due to purge is active files are deleted.
      Switching back to puppet-agent version 1.8.3 solved the problem.

      Any of these hiera yaml files contain a section

      classes:
      

      Mayby merging ist not done as defined any more:

      :deep_merge_options:
        :knock_out_prefix: '--'
        sort_merge_arrays: true
        merge_hash_arrays: true
      

      Environment

      $ cat hiera.yaml
      ---
       
      :backends:
        - yaml
       
      :yaml:
      # datadir is empty here, so hiera uses its defaults:
      # - /etc/puppetlabs/code/environments/%{environment}/hieradata on *nix
      # - %CommonAppData%\PuppetLabs\code\environments\%{environment}\hieradata on Windows
      # When specifying a datadir, make sure the directory exists.
        :datadir: /etc/puppetlabs/code/environments/%{environment}/hiera
       
      :hierarchy:
      #  - "node/%{::fqdn}"
        - "node/%{::trusted.certname}"
        - "role/%{::role}"
        - "os/%{::osfamily}__%{::lsbdistcodename}"
        - "os/%{::osfamily}"
        - "users"
        - "common"
       
      :logger: puppet
      :merge_behavior: deeper
      :deep_merge_options:
        :knock_out_prefix: '--'
        sort_merge_arrays: true
        merge_hash_arrays: true
      

      Attachments

        Issue Links

          Activity

            People

              andreas.papst@univie.ac.at Andreas Papst
              andreas.papst@univie.ac.at Andreas Papst
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support