[mgmt] Why CheckApply, and not Check Apply ?

Julien Pivotto roidelapluie at inuits.eu
Thu Feb 9 19:12:39 UTC 2017


Hi,


I am wondering why the choice has been made to have a CheckApply
command, and not one Check and one Apply command?

Even the name of the function look like it should have been two
different functions.


I plan to have for the augeas resource that distinction:

CheckApply would look like:

if check {
    apply
}

what do you think about that? why is there one function to do two
separated things?

Is that okay that for my resource I internally split that in 2?

Thanks!

-- 
 (o-    Julien Pivotto
 //\    Open-Source Consultant
 V_/_   Inuits - https://www.inuits.eu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/mgmtconfig-list/attachments/20170209/d34311e0/attachment.sig>


More information about the mgmtconfig-list mailing list