Skip to content
  • James McKenzie's avatar
    9876c31a
    Add support for deb822 APT sources (#1167) · 9876c31a
    James McKenzie authored
    
    
    * Initial testing for deb822 APT sources
    
    * Added defined type for generating deb822 apt sources
    
    Should be roughly drop-in alternative to the existing apt::source type
    Does not currently support inline ascii gpg key
    
    * Add puppet strings documentation
    
    * Replace example with generic content
    
    * Initial testing of apt::source with deb822 support
    
    * Fix setting_type and signed_by
    
    Use 'sources' instead of 'source' as the setting_type parsed to
    apt::setting
    
    Fix the data type of apt::source::signed_by
    
    * Fix source_deb822.epp template
    
    Correctly handle newline/whitespace trimming for `signed_by` parameter.
    
    * Remove link from components to repos
    
    * Add logic for deb822 sources
    
    * Update documentation for deb822 sources
    
    * Update source_format parameter
    
    Match the possible values to the file suffix of the created source
    files.
    
    * Add forward-compatibility with deb822
    
    Allow array values for certain parameters to allow easy switching between .list and .sources formats.
    
    * Add backward-compatibility for deb822 sources
    
    Convert string values to arrays where possible and warn the user.
    
    * Fix logic
    
    * Revert "Add forward-compatibility with deb822"
    
    This reverts commit 9d88e9392b816e6996998370ecc29a7f1a3dd9bb.
    
    * Fix deb822 backward compatibility
    
    Correctly compare data type when generating deb822 sources
    Remove unused class parameters and descriptions
    
    * Update puppet-strings and logic
    
    Remove references to unused deb822 parameters
    Update parameter descriptions
    Update deb822 example
    Update warnings for $pin and $key usage with deb822. Currently
    unsupported
    Don't fail if $location is missing unless $ensure is 'present'
    
    * Remove unused spec test
    
    * Add unit testing for deb822 sources
    
    * Update README.md with deb822 sources example
    
    * Fix unit test syntax
    
    * Re-apply commit 2faa817d
    
    eliminate params.pp and create_resources()
    
    params.pp and create_resources() are obsolete.
    
    This module was converted to non-params.pp style #667, but was
    reverted in #680. Using Hiera in modules and no params.pp are the
    preferred styles these days.
    
    * Update apt::config_files hash
    
    Add support for deb822 .sources files
    
    * Update data types and documentation
    
    Re-apply data-type changes for apt::source::pin from 1e1baadf
    Regenerate puppet strings to match.
    
    * Update source_deb822.epp template
    
    Remove leading whitespace
    
    * Update manifests/setting.pp
    
    Simplify apt::setting logic
    
    Co-authored-by: default avatarTim Meusel <tim@bastelfreak.de>
    
    ---------
    
    Co-authored-by: default avatarJames Paton-Smith <jamesps@ebi.ac.uk>
    Co-authored-by: default avatarTim Meusel <tim@bastelfreak.de>
    9876c31a
    Add support for deb822 APT sources (#1167)
    James McKenzie authored
    
    
    * Initial testing for deb822 APT sources
    
    * Added defined type for generating deb822 apt sources
    
    Should be roughly drop-in alternative to the existing apt::source type
    Does not currently support inline ascii gpg key
    
    * Add puppet strings documentation
    
    * Replace example with generic content
    
    * Initial testing of apt::source with deb822 support
    
    * Fix setting_type and signed_by
    
    Use 'sources' instead of 'source' as the setting_type parsed to
    apt::setting
    
    Fix the data type of apt::source::signed_by
    
    * Fix source_deb822.epp template
    
    Correctly handle newline/whitespace trimming for `signed_by` parameter.
    
    * Remove link from components to repos
    
    * Add logic for deb822 sources
    
    * Update documentation for deb822 sources
    
    * Update source_format parameter
    
    Match the possible values to the file suffix of the created source
    files.
    
    * Add forward-compatibility with deb822
    
    Allow array values for certain parameters to allow easy switching between .list and .sources formats.
    
    * Add backward-compatibility for deb822 sources
    
    Convert string values to arrays where possible and warn the user.
    
    * Fix logic
    
    * Revert "Add forward-compatibility with deb822"
    
    This reverts commit 9d88e9392b816e6996998370ecc29a7f1a3dd9bb.
    
    * Fix deb822 backward compatibility
    
    Correctly compare data type when generating deb822 sources
    Remove unused class parameters and descriptions
    
    * Update puppet-strings and logic
    
    Remove references to unused deb822 parameters
    Update parameter descriptions
    Update deb822 example
    Update warnings for $pin and $key usage with deb822. Currently
    unsupported
    Don't fail if $location is missing unless $ensure is 'present'
    
    * Remove unused spec test
    
    * Add unit testing for deb822 sources
    
    * Update README.md with deb822 sources example
    
    * Fix unit test syntax
    
    * Re-apply commit 2faa817d
    
    eliminate params.pp and create_resources()
    
    params.pp and create_resources() are obsolete.
    
    This module was converted to non-params.pp style #667, but was
    reverted in #680. Using Hiera in modules and no params.pp are the
    preferred styles these days.
    
    * Update apt::config_files hash
    
    Add support for deb822 .sources files
    
    * Update data types and documentation
    
    Re-apply data-type changes for apt::source::pin from 1e1baadf
    Regenerate puppet strings to match.
    
    * Update source_deb822.epp template
    
    Remove leading whitespace
    
    * Update manifests/setting.pp
    
    Simplify apt::setting logic
    
    Co-authored-by: default avatarTim Meusel <tim@bastelfreak.de>
    
    ---------
    
    Co-authored-by: default avatarJames Paton-Smith <jamesps@ebi.ac.uk>
    Co-authored-by: default avatarTim Meusel <tim@bastelfreak.de>
Loading