Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Can't set splunk.user with defaults.yml because SPLUNK_USER is set

Abierto
#591 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
ansible, docker

Línea de trabajo

Reproduce the configuration using the docker-splunk image, defaults.yml, and the SPLUNK_USER environment variable, then trace how the Ansible settings are applied. Done means a value supplied through defaults.yml is not silently overridden by the image environment, with the behavior verified for the other listed environment variables.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Same issue for all of these envvars below. No amount of DEBUG=true or ANSIBLE_EXTRA_FLAGS=-vvvvvvvvvv tells you that the .YAML directive is being overridden by the envvar, either.

$ docker inspect splunk/universalforwarder:8.2.10 | jq '.[0].Config.Env'
[
  "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  "container=oci",
  "SCLOUD_URL=https://github.com/splunk/splunk-cloud-sdk-go/releases/download/v1.11.1/scloud_v7.1.0_linux_amd64.tar.gz",
  "PYTHON_VERSION=3.7.10",
  "PYTHON_GPG_KEY_ID=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
  "SPLUNK_HOME=/opt/splunkforwarder",
  "SPLUNK_GROUP=splunk",
  "SPLUNK_USER=splunk",
  "SPLUNK_ROLE=splunk_universal_forwarder",
  "SPLUNK_DEFAULTS_URL=",
  "SPLUNK_ANSIBLE_HOME=/opt/ansible",
  "SPLUNK_OPT=/opt",
  "ANSIBLE_USER=ansible",
  "ANSIBLE_GROUP=ansible",
  "CONTAINER_ARTIFACT_DIR=/opt/container_artifact"
]
Lenguaje dominante
Python
Estrellas
551
Forks
279
Merge medio
3 d 9 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de splunk/docker-splunk

Todos los issues de splunk/docker-splunk

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.