[katello-devel] Keeping our installer "stable"

Jeff Weiss jweiss at redhat.com
Fri Dec 21 13:32:21 UTC 2012


Lukas Zapletal <lzap at redhat.com> writes:

> Hey,
>
> I noticed today that our installer is not "stable" anymore (not sure the
> proper wording from the Puppet world). Basically, all subsequent
> executions with the same parameters should not do any configuration
> changes - Puppet should only check that everything is deployed properly
> and return immediately (in 1-3 seconds).

I think the word you're looking for is idempotent:
http://en.wikipedia.org/wiki/Idempotence


>
> Currently nightly is trying to reconfigure foreman and do several other
> things. So the rule of thumb here is:
>
> When you are working on installer, make sure it works correctly AND try
> to run it several times with the same parameters - it should not do
> anything.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=889488
>
> I will fix this bug next year, but keep this in mind please. I have been
> refactoring a LOT of Puppet code some time ago to make it "stable".
>
> Thanks
>
> -- 
> Later,
>
>  Lukas "lzap" Zapletal
>  #katello #systemengine
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list