Skip to content

Provide ability to add content to configuration.py #13

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

Open
adoom42 opened this issue Feb 24, 2021 · 1 comment · May be fixed by #30
Open

Provide ability to add content to configuration.py #13

adoom42 opened this issue Feb 24, 2021 · 1 comment · May be fixed by #30

Comments

@adoom42
Copy link

adoom42 commented Feb 24, 2021

The configuration.py file is managed via a template: https://github.com/anderssh/ash-netbox/blob/master/templates/configuration.py.epp

To enable LDAP authentication, this line is required:

REMOTE_AUTH_BACKEND = 'netbox.authentication.LDAPBackend'

With the current template structure, there is no way to add content like this.

faxm0dem added a commit to ccin2p3/ash-netbox that referenced this issue Jul 12, 2022
Fixes anderssh#13

Example:

```
class { '::netbox':
  version => '3.0.0',
  custom_configuration => [
    "SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = ${openid_url}",
    "SOCIAL_AUTH_KEYCLOAK_SECRET = 'secret',
  ]
}
```
faxm0dem added a commit to ccin2p3/ash-netbox that referenced this issue Jul 12, 2022
Fixes anderssh#13

Example:

```
class { '::netbox':
  version => '3.0.0',
  custom_configuration => [
    "SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = ${openid_url}",
    "SOCIAL_AUTH_KEYCLOAK_SECRET = 'secret',
  ]
}
```
faxm0dem added a commit to ccin2p3/ash-netbox that referenced this issue Jul 12, 2022
Fixes anderssh#13

Example:

```
class { '::netbox':
  version => '3.0.0',
  custom_configuration => [
    "SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = ${openid_url}",
    "SOCIAL_AUTH_KEYCLOAK_SECRET = 'secret',
  ]
}
```
faxm0dem added a commit to ccin2p3/ash-netbox that referenced this issue Jul 12, 2022
Fixes anderssh#13

Example:

```
class { '::netbox':
  version => '3.0.0',
  custom_configuration => [
    "SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = ${openid_url}",
    "SOCIAL_AUTH_KEYCLOAK_SECRET = 'secret',
  ]
}
```
@faxm0dem faxm0dem linked a pull request Jul 12, 2022 that will close this issue
@anderssh
Copy link
Owner

I must admit that I don't have much time at all to follow up on this project. So what is best would be someone forking it. Love all the contributions <3

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 a pull request may close this issue.

2 participants