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

Change indentation for custom_fragments to align with global #583

Closed
wants to merge 1 commit into from
Closed

Conversation

jjarokergc
Copy link

Summary

This formats custom_fragments to align with global and default sections.

Additional Context

This change allows...

  class { 'haproxy':

    custom_fragment  => "cache mycache \n  total-max-size 4095 \n  max-object-size 10000 \n  max-age 30",
    global_options   => {...
    defaults_options => {...
}

...to generate haproxy.cfg:

global
  ...
defaults
  ...
cache mycache 
  total-max-size 4095 
  max-object-size 10000 
  max-age 30

Related Issues (if any)

See #582

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • [ x ] Manually verified. (For example puppet apply)

@jjarokergc jjarokergc requested a review from a team as a code owner September 18, 2023 19:33
@jjarokergc jjarokergc closed this by deleting the head repository Sep 19, 2023
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.

2 participants