Skip to content

Puppet 4 functions #1079

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

Closed
wants to merge 3 commits into from
Closed

Puppet 4 functions #1079

wants to merge 3 commits into from

Conversation

binford2k
Copy link
Contributor

Recreating #1078 with a fork and rubocop fixes.

@codecov-io
Copy link

Codecov Report

Merging #1079 into master will decrease coverage by 1.68%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1079      +/-   ##
=========================================
- Coverage    4.54%   2.86%   -1.69%     
=========================================
  Files         183     319     +136     
  Lines        5238    8104    +2866     
=========================================
- Hits          238     232       -6     
- Misses       5000    7872    +2872
Impacted Files Coverage Δ
lib/puppet/functions/stdlib/str2saltedsha512.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/uriescape.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/values_at.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/delete.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/join.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/rstrip.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/floor.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/validate_bool.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/is_ipv6_address.rb 0% <0%> (ø)
lib/puppet/functions/stdlib/validate_re.rb 0% <0%> (ø)
... and 265 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1e2e0b...f1ef935. Read the comment docs.

@DavidS
Copy link
Contributor

DavidS commented Feb 17, 2020

@michaeltlombardi
Copy link
Contributor

@DavidS you're on vacation so don't answer this til you get back, but can this PR be closed in favor of forward movement in IAC-114?

#
# @summary
# @summary
# **DEPRECATED:** This function will be removed when Puppet 3 support is dropped; please migrate to the new parser's typing system.
Copy link
Contributor

Choose a reason for hiding this comment

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

Given that V3 support was dropped in 2019, should this function be kept or dropped 9e8ce94#diff-12e598daecade60b04e493f45c134fec9287ac7471114d95d1995b4fb651a6c8

@pmcmaw
Copy link
Contributor

pmcmaw commented Jan 25, 2021

@binford2k There is more work to be done on this.
Due to backwards incompatibility, this is something that we will need to plan and schedule priorities.

This comment is in relation to both this PR and @DavidS WIP PR mentioned above: https://github.com/DavidS/puppetlabs-stdlib/tree/modules-1882-move-function-api

Also this is the ticket in relation to this: https://tickets.puppetlabs.com/browse/IAC-114

@david22swan david22swan deleted the branch puppetlabs:master April 15, 2021 11:12
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 2878 lines in your changes missing coverage. Please review.

Project coverage is 2.86%. Comparing base (f1e2e0b) to head (f1ef935).

Files with missing lines Patch % Lines
lib/puppet/functions/stdlib/validate_integer.rb 0.00% 66 Missing ⚠️
lib/puppet/functions/stdlib/validate_numeric.rb 0.00% 66 Missing ⚠️
lib/puppet/functions/stdlib/validate_augeas.rb 0.00% 47 Missing ⚠️
lib/puppet/functions/stdlib/base64.rb 0.00% 46 Missing ⚠️
lib/puppet/functions/stdlib/validate_slength.rb 0.00% 44 Missing ⚠️
lib/puppet/functions/stdlib/values_at.rb 0.00% 44 Missing ⚠️
lib/puppet/functions/stdlib/has_interface_with.rb 0.00% 41 Missing ⚠️
lib/puppet/functions/stdlib/loadjson.rb 0.00% 41 Missing ⚠️
lib/puppet/functions/stdlib/loadyaml.rb 0.00% 41 Missing ⚠️
lib/puppet/functions/stdlib/range.rb 0.00% 40 Missing ⚠️
... and 126 more
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #1079      +/-   ##
=========================================
- Coverage    4.54%   2.86%   -1.69%     
=========================================
  Files         183     319     +136     
  Lines        5238    8104    +2866     
=========================================
- Hits          238     232       -6     
- Misses       5000    7872    +2872     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants