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

Stop redeclaring variables from params #431

Merged
merged 1 commit into from Feb 21, 2015

Conversation

underscorgan
Copy link

It really seems unnecessary.

@underscorgan underscorgan added this to the 2.0 milestone Feb 20, 2015
@daenney
Copy link

daenney commented Feb 20, 2015

E_NOMERGE says Github :(.

@underscorgan
Copy link
Author

too many PRs touching too many things. try this.

@underscorgan underscorgan assigned daenney and unassigned underscorgan Feb 20, 2015
@@ -65,8 +63,8 @@
$file_name = regsubst($title, '[^0-9a-z\-_\.]', '_', 'IG')

$path = $order ? {
'' => "${preferences_d}/${file_name}.pref",
default => "${preferences_d}/${order}-${file_name}.pref",
'' => "${apt::params::preferences_d}/${file_name}.pref",
Copy link

Choose a reason for hiding this comment

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

Couldn't his just be apt::preferences_d? We require apt and it inherits from params.t

@daenney daenney assigned underscorgan and unassigned daenney Feb 21, 2015
It really seems unnecessary.
@underscorgan
Copy link
Author

done.

daenney added a commit that referenced this pull request Feb 21, 2015
Stop redeclaring variables from params
@daenney daenney merged commit f880081 into puppetlabs:next Feb 21, 2015
@underscorgan underscorgan deleted the local_variable_declarations branch May 8, 2015 19:14
@LukasAud LukasAud added the bugfix label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants