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

nginx.conf template is hardcoded - override of for example nginx username is not possible #31

Open
c33s opened this issue Dec 3, 2021 · 0 comments

Comments

@c33s
Copy link

c33s commented Dec 3, 2021

class nginx::config () inherits nginx {

  assert_private("Use of private class ${name} by ${caller_module_name}")

  file { "${nginx::install_location}/nginx.conf":
    ensure  => file,
    content => epp("${module_name}/nginx.conf.epp",
      {
        'install_location' => $nginx::install_location,
      }
    ),
  }
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

No branches or pull requests

1 participant