[katello-devel] Fedora 17 Stuff So Far

Jason Rist jrist at redhat.com
Tue Jul 31 13:09:28 UTC 2012


On 07/31/2012 01:21 AM, Miroslav Suchý wrote:
> On 07/30/2012 05:54 PM, Jason Rist wrote:
>> https://fedorahosted.org/katello/wiki/f17_research
>>
>> -J
>
> See comments inline:
>
>> The above requires you to add the two separate repos as deps:
>>
>> http://repos.fedorapeople.org/repos/pulp/pulp/v1/stable/fedora-17/x86_64/
>>
>> http://repos.fedorapeople.org/repos/candlepin/candlepin/fedora-16/x86_64/
>
>
>
> Any reason why you are not using:
> http://fedorapeople.org/groups/katello/releases/yum/katello-candlepin/Fedora/17/
>
> http://fedorapeople.org/groups/katello/releases/yum/katello-pulp/Fedora/17/
> ?

As I mentioned in the demo, going to switch to that, but haven't updated 
the wiki to reflect it.

>
>
>> if RUBY_VERSION < "1.9"
>> when nil: total_mem *= (1<<0)
>> when 'kB': total_mem *= (1<<10)
>> when 'MB': total_mem *= (1<<20)
>> when 'GB': total_mem *= (1<<30)
>> when 'TB': total_mem *= (1<<40)
>> else
>> when nil then total_mem *= (1<<0)
>> when 'kB' then total_mem *= (1<<10)
>> when 'MB' then total_mem *= (1<<20)
>> when 'GB' then total_mem *= (1<<30)
>> when 'TB' then total_mem *= (1<<40)
>> end
>
>
> Why this when:
> when nil then total_mem *= (1<<0)
> works in ruby-1.8 as well?

Yeah, this was fixed in PR 395 by inecas
>
>> err: /Stage[main]/Apache2/Exec[reload-apache2]: Failed to call
>> refresh: Could not find command '/etc/init.d/httpd'
>
> We have even in code:
> modules/certs/templates/rhsm-katello-reconfigure.erb: /etc/init.d/goferd
> restart >/dev/null 2&>1
>
> You should never call /etc/init.d/foo directly. Always
> service foo start/stop/restart
> Command service ensure you have correct environment and set cwd to /.
> And works with both systemV and systemD.
>
>
Agreed! This has also been fixed by one of lzap's pushes.

-- 
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist




More information about the katello-devel mailing list