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

add the ability to resolve deprecated modules #5

Open
binford2k opened this issue Dec 17, 2024 · 0 comments
Open

add the ability to resolve deprecated modules #5

binford2k opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@binford2k
Copy link
Owner

When modules are deprecated, there's often a replacement suggestion. This tool should resolve those to help end users keep up with changes.

Ideally, it would resolve the existing dependencies and write those out to the file, but also add a commented out mod declaration for the replacement. This would ensure that the resolved Puppetfile continued to work properly, even if you took no action.

An example might look like

####### resolved dependencies #######
mod 'nwops-format', '0.1.0'    # deprecated  
# mod 'puppet-format', '0.1.0' # suggested alternative

mod 'puppetlabs-stdlib', '8.5.0'
mod 'puppetlabs-apt', '8.5.0'
mod 'puppetlabs-inifile', '5.4.0'
mod 'puppet-zypprepo', '4.0.1'
mod 'puppet-archive', '6.1.0'
mod 'puppetlabs-concat', '7.3.0'

# Generated with r10k-resolve version 0.0.1
@binford2k binford2k added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant