#8 Add module-defaults.d
Closed 5 years ago by mhatina. Opened 5 years ago by sgallagh.
rpms/ sgallagh/dnf master  into  master

file modified
@@ -245,6 +245,7 @@ 

  mkdir -p %{buildroot}%{pluginconfpath}/

  mkdir -p %{buildroot}%{py2pluginpath}/

  mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules.d

+ mkdir -p %{buildroot}%{_sysconfdir}/%{name}/module-defaults.d

  %if %{with python3}

  mkdir -p %{buildroot}%{py3pluginpath}/__pycache__/

@@ -360,6 +361,8 @@ 


  %dir %{py2pluginpath}

  %dir %{_sysconfdir}/%{name}/modules.d

+ %dir %{_sysconfdir}/%{name}/module-defaults.d



  %if %{with python3}

  %files -n python3-%{name}
@@ -369,6 +372,7 @@ 

  %dir %{py3pluginpath}

  %dir %{py3pluginpath}/__pycache__

  %dir %{_sysconfdir}/%{name}/modules.d

+ %dir %{_sysconfdir}/%{name}/module-defaults.d



  %files automatic

This is the location that should provide local overrides for module default settings.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com

The patch looks good.
We'll merge it in once the support for modular defaults lands in upstream git.

Pull-Request has been closed by mhatina

5 years ago

It was fixed through upstream.