Project

General

Profile

action #39674

Updated by oorlov about 3 years ago

## Motivation 
 Since 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 
 1. The `<on_demand>` section for some service is verified in an automatic test: 

       
    For service like cups we should validate that cups.service is disabled, and cups.socket is active and enabled and triggers cups.service/. 
 2. Generation of the autoyast profile for the given service is validated 

 ## 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