From Fedora Project Wiki
Description
Enabling and Disabling Modules in FMS
Setup
- Download a nightly image or RC of Fedora 27 Modular Server
- Continue to install on a VM or Baremetal
- Login from the Cockpit Web-UI or server with the created user or root
- Check all availble module here
How to test
Enabling Modules:
- Enabling without any specific stream
dnf module enable module
- Enabling with specific stream
dnf module enable module:stream
Disabling Modules:
- Disabling without any specifc stream
dnf module disable module
- Disabling with a specific stream
dnf module disable module:stream
Expected Results
The commands execute without error
- The first command prints <foo> is enabled.
dnf module enable nodejs:8 Last metadata expiration check: 3:17:36 ago on Fri 10 Nov 2017 03:35:01 AM IST. 'nodejs:8' is enabled
- The second command prints <foo> is disabled
dnf module disable nodejs:8 Last metadata expiration check: 2:56:48 ago on Fri 10 Nov 2017 03:35:01 AM IST. 'nodejs:8' is disabled
Optional
Optionally provide hints for exploratory testing.