From Fedora Project Wiki

Revision as of 17:07, 9 April 2018 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description= Enabling and Disabling Modules in Fedora Server |setup= # Grab a Fedora Server and continue to install on a VM or Baremetal # Login from the Cock...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Enabling and Disabling Modules in Fedora Server

Setup

  1. Grab a Fedora Server and continue to install on a VM or Baremetal
  2. Login from the Cockpit Web-UI or server with the created user or root
  3. Check all available module here

How to test

Enabling Modules:

  1. Enabling without any specific stream
 dnf module enable module
  1. Enabling with specific stream
 dnf module enable module:stream

Disabling Modules:

  1. Disabling without any specifc stream
     dnf module disable module  
  1. Disabling with a specific stream
    dnf module disable module:stream 

Expected Results

The commands execute without error

  1. 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
  1. 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.