def create_baseline(tag='baseline', config='root'):
 return __salt__['snapper.create_snapshot'](config=config, snapshot_type='single', description='baseline snapshot', cleanup_algorithm='number', userdata={'baseline_tag': tag})

def create_baseline ( tag = 'baseline' , config = 'root' ) : return __salt__ [ 'snapper.create_snapshot' ] ( config = config , snapshot_type = 'single' , description = 'baseline snapshot' , cleanup_algorithm = 'number' , userdata = { 'baseline_tag' : tag } )
creates a snapshot marked as baseline tag tag name for the baseline config configuration name .