fix up sanity tests and with_modules conditional

Signed-off-by: Adam Miller <admiller@redhat.com>
pull/48899/head
Adam Miller 6 years ago committed by Toshio Kuratomi
parent 4a06e95671
commit 23b60035a1

@ -257,17 +257,17 @@ EXAMPLES = '''
- name: install a modularity appstream with defined stream and profile
dnf:
name: @postgresql:9.6/client
name: '@postgresql:9.6/client'
state: present
- name: install a modularity appstream with defined stream
dnf:
name: @postgresql:9.6
name: '@postgresql:9.6'
state: present
- name: install a modularity appstream with defined profile
dnf:
name: @postgresql/client
name: '@postgresql/client'
state: present
'''
@ -764,6 +764,7 @@ class DnfModule(YumDnf):
if env:
env_specs.append(env.id)
if self.with_modules:
mdl = self.module_base._get_modules(grp_env_mdl_candidate)
if mdl[0]:
module_specs.append(grp_env_mdl_candidate)

Loading…
Cancel
Save