Project

General

Profile

action #39674

Updated by riafarov about 5 years ago

## Motivation 
 For SLE15 SP1 following format can be used to start services on demand: 

 ``` 
 <services> 
   <enable config:type="list"> 
     <service>at</service> 
     <service>sshd</service> 
   </enable> 
   <disable config:type="list"> 
     <service>libvirtd</service> 
   </disable> 
   <on_demand config:type="list"> 
     <service>cups</service> 
   </on_demand> 
 </services> 
 ``` 

 Also see [trello](https://trello.com/c/afoVvQV7/130-add-autoyast-support-for-on-demand-services). 

 ## Acceptance criteria 
 * **AC1:** Functionality is tested manually (including enable/disable options, installation, new profile generation, backward compatibility (reasonable error is shown), documentation) 
 * **AC2:** The `<on_demand>` section for some service is verified in an automatic test 

 ## Suggestions 
 * Add according section (e.g. cups) to either existing profile for SLE15 or new profile and add automated test based on that 
 * Add verification in test

Back