Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Release prep for Puppet 4 language update #667

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

HelenCampbell
Copy link

No description provided.

@HelenCampbell HelenCampbell changed the title Puppet 4 language update (WIP) First Release prep for Puppet 4 language update Apr 6, 2017
@HelenCampbell
Copy link
Author

For Release 3.0.0

metadata.json Outdated
@@ -32,7 +33,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 3.0.0 < 5.0.0"
"version_requirement": ">= 4.0.0 < 5.0.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.5.0 or later is required for data-in-modules due to PUP-6230

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And official word is that we're going >= 4.7.0

@hunner hunner changed the title (WIP) First Release prep for Puppet 4 language update First Release prep for Puppet 4 language update Apr 11, 2017
@hunner hunner merged commit 4263724 into puppetlabs:release Apr 11, 2017
kenyon added a commit to kenyon/puppetlabs-apt that referenced this pull request Apr 9, 2024
params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
kenyon added a commit to kenyon/puppetlabs-apt that referenced this pull request Apr 9, 2024
params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
kenyon added a commit to kenyon/puppetlabs-apt that referenced this pull request Apr 9, 2024
params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
kenyon added a commit to kenyon/puppetlabs-apt that referenced this pull request Apr 9, 2024
params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
jamesps-ebi added a commit to jps-help/puppetlabs-apt that referenced this pull request Aug 1, 2024
eliminate params.pp and create_resources()

params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
jamesps-ebi added a commit to jps-help/puppetlabs-apt that referenced this pull request Nov 18, 2024
eliminate params.pp and create_resources()

params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
jamesps-ebi added a commit to jps-help/puppetlabs-apt that referenced this pull request Nov 20, 2024
eliminate params.pp and create_resources()

params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
malikparvez pushed a commit to jps-help/puppetlabs-apt that referenced this pull request Nov 25, 2024
eliminate params.pp and create_resources()

params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
amitkarsale pushed a commit to jps-help/puppetlabs-apt that referenced this pull request Nov 27, 2024
eliminate params.pp and create_resources()

params.pp and create_resources() are obsolete.

This module was converted to non-params.pp style puppetlabs#667, but was
reverted in puppetlabs#680. Using Hiera in modules and no params.pp are the
preferred styles these days.
malikparvez pushed a commit that referenced this pull request Dec 18, 2024
* 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 9d88e93.

* 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 2faa817

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 1e1baad
Regenerate puppet strings to match.

* Update source_deb822.epp template

Remove leading whitespace

* Update manifests/setting.pp

Simplify apt::setting logic

Co-authored-by: Tim Meusel <tim@bastelfreak.de>

---------

Co-authored-by: James Paton-Smith <jamesps@ebi.ac.uk>
Co-authored-by: Tim Meusel <tim@bastelfreak.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants