[katello-devel] Foreman integration model question

Lukas Zapletal lzap at redhat.com
Thu Aug 23 12:10:48 UTC 2012


On Wed, Aug 22, 2012 at 01:07:56PM -0400, Justin Sherrill wrote:
> With our current orchestration you would do something like:
> 
> a = KTEnvironment.find(3)
> print a.remote_attribute
> a.remote_attribute = "foo"
> a.save!
> 
> whereas the way i see it now, we'd have to do:
> 
> a = KTEnvironment.find(3)
> a.foreman_user.remote_attribute = "foo"
> a.save!
> 
> I don't really like this better as you'd have to remember which

+1 We should stay consistent in this case.

LZ

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine




More information about the katello-devel mailing list