From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= Enabling and Disabling Modules in FMS |setup= # Download and install Fedora 27 DVD image from XX # Login as root # Check all availble module [htt...")
 
No edit summary
Line 2: Line 2:
|description= Enabling and Disabling Modules in FMS
|description= Enabling and Disabling Modules in FMS
|setup=  
|setup=  
# Download and install Fedora 27 DVD image from XX
# Download a [https://kojipkgs.fedoraproject.org/compose/ nightly image] or [https://kojipkgs.fedoraproject.org/compose/27/ RC] of Fedora 27 Modular Server
# Login as root
# 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 [https://fedoraproject.org/wiki/User:Sumantrom/Draft/FMS_module_list here]
# Check all availble module [https://fedoraproject.org/wiki/User:Sumantrom/Draft/FMS_module_list here]
|actions=
|actions=
Enabling Modules:  
=== Enabling Modules: ===
# Execute dnf module enable <foo>
# Enabling without any specific stream
  <code>dnf module enable module</code>
# Enabling with specific stream
  <code>dnf module enable module:stream</code>


Disabling Modules:
=== Disabling Modules: ===
# Execute dnf module disable <foo>
# Disabling without any specifc stream
      <code>dnf module disable module </code>  
# Disabling with a specific stream
    <code>dnf module disable module:stream </code>
 


|results=
|results=
Line 16: Line 24:
# The first command prints <foo> is enabled.
# The first command prints <foo> is enabled.
# The second command prints <foo> is disabled
# The second command prints <foo> is disabled
{{#tag:pre|
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.
|optional=Optionally provide hints for exploratory testing.
}}
}}

Revision as of 01:13, 10 November 2017

Description

Enabling and Disabling Modules in FMS

Setup

  1. Download a nightly image or RC of Fedora 27 Modular Server
  2. Continue to install on a VM or Baremetal
  3. Login from the Cockpit Web-UI or server with the created user or root
  4. Check all availble 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.
  2. 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.