[katello-devel] Setting up a Dev Environment

Justin Sherrill jsherril at redhat.com
Wed Nov 21 13:05:36 UTC 2012


On 11/21/2012 08:05 AM, Bryan Kearney wrote:
> On 11/21/2012 08:01 AM, Justin Sherrill wrote:
>> On 11/21/2012 07:59 AM, Bryan Kearney wrote:
>>> On 11/21/2012 05:44 AM, Miroslav Suchý wrote:
>>>> On 11/20/2012 10:28 PM, Bryan Kearney wrote:
>>>>> I get output which is at [2]. Per Brad, I think this means that 
>>>>> cpsetup
>>>>> needs to support a password?
>>>>
>>>> You need either:
>>>> 1) provide password
>>>> 2) su - postgres
>>>> 3) modify your pg_hba.conf to allow conect to your user without 
>>>> password
>>>> - this is disabled by default for security reasons
>>>
>>> Should I add (3) as a step to the dev instructions?
>>>
>>>>
>>>>> I ended up using katello-configure
>>>>> --reset-data=YES
>>>>
>>>> Yes this is preferred way.
>>>
>>> Since I was following the docs, does everyone agree I should update
>>> the docs with this instead of reset data?
>>
>> No, because this won't reset the data based off of your git directory.
>> It will use all of the installed katello rpms, which could be
>> drastically out of date.  We had discussed providing some way for
>> katello configure to do this, but i think it was decided to not dirty up
>> katello-configure for that purpose.
>>
> ok.. will let you all discus this. But, to get reset-dbs to work per 
> the docs.. do I do 1,2 or 3 from above?
Honestly I would do #3.  I'm not sure that 2) would even work for the 
rest of katello-configure, and a dev environment does not need a db 
password at all.

So my vote would be to add #3) to the wiki dev setup instructions.

-Justin

>
> -- bk
>
> _______________________________________________
> 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