[katello-devel] why we have /usr/share/katello/script ?

Bryan Kearney bkearney at redhat.com
Wed Jul 18 15:25:26 UTC 2012


On 07/18/2012 10:01 AM, Jordan OMara wrote:
> On 18/07/12 15:52 +0200, Lukas Zapletal wrote:
>>
>> Uh, I am basically done with implementation of
>>
>> katello-configure --reset
>>
>> but what it does is:
>>
>> - drops katello db
>> - drops pulp db
>> - drops candlepin db
>> - erases elasticsearch index
>> - re-executes puppet to re-initalize all databases again
>>
>> Actually I called this --reset-data.
>>
>
> I think there are a few people that use reset-dbs for various lab/demo
> purposes and want to keep it. When I was working on this feature
> independently of you, I learned that and came up with the following
> plan
>
> katello-configure --clean (executes your new functionality)
> katello-configure --reset (executes katello-reset-dbs)
>
> If you don't like the idea of multiple flags, just add your feature
> and DONT remove reset-dbs
>
Does one of these two approaches work?
-- bk




More information about the katello-devel mailing list