Re: [Spacewalk-devel] First organization creating

2015-12-03 Thread Frantisek Kobzik
On Tue, 1 Dec 2015 15:24:19 +0100
Jan Dobes  wrote:

> Hello,
> 
> previously, the first organization was created during Spacewalk 
> certificate activation. Now, after entitlements removal, there are 
> several SQL inserts doing this present in spacewalk-setup. [1]
> 
> I was thinking, wouldn't be simpler to create first organization when 
> first Spacewalk user is created in Java code? Or am I missing
> something and there is something dependent on organization created
> during installation? What do you think?
> 
> [1] 
> https://github.com/spacewalkproject/spacewalk/commit/fe461626c2ec81f19896f39e0bbfae40a6e7dd88
> 
> Regards,

Hello,

we had a discussion with other devels and we didn't find any catches.
So yes, we think it's a good idea!

Thanks,
F.

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] First organization creating

2015-12-02 Thread Avi Miller
Hi,

> On 2 Dec 2015, at 3:40 AM, Tomas Lestach  wrote:
> 
>> I was thinking, wouldn't be simpler to create first organization when
>> first Spacewalk user is created in Java code? Or am I missing
>> something and there is something dependent on organization created during
>> installation? What do you think?
> 
> +1
> 
> I like the idea freshly installed Spacewalk wouldn't contain any orgs
> (spacewalk-setup wouldn't touch orgs at all - neither at installation,
> nor at upgrade). And let the user create the 1st org with the 1st user.
> So, yes, I'm for extending the first user creation page with an additional
> '1st org name' input.

This gets a +1 from me too so that the first org isn't tied to installation and 
therefore a generic silent install answer file could still be used. If the org 
was named/created during install, the answer file would need to be customised.

Cheers,
Avi

--
Oracle 
Avi Miller | Product Management Director | +61 (3) 8616 3496
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] First organization creating

2015-12-01 Thread Tomas Lestach
> Hello,
> 
> previously, the first organization was created during Spacewalk
> certificate activation. Now, after entitlements removal, there are
> several SQL inserts doing this present in spacewalk-setup. [1]
> 
> I was thinking, wouldn't be simpler to create first organization when
> first Spacewalk user is created in Java code? Or am I missing
> something
> and there is something dependent on organization created during
> installation? What do you think?

+1

I'd like to avoid installer creating the initial organization for me.
It either would need to choose some default name for the initial org,
or the user would need to pass the name via an installer option/answer
file.

I like the idea freshly installed Spacewalk wouldn't contain any orgs
(spacewalk-setup wouldn't touch orgs at all - neither at installation,
nor at upgrade). And let the user create the 1st org with the 1st user.
So, yes, I'm for extending the first user creation page with an additional
'1st org name' input.


Regards,
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat


> 
> [1]
> https://github.com/spacewalkproject/spacewalk/commit/fe461626c2ec81f19896f39e0bbfae40a6e7dd88
> 
> Regards,
> --
> Jan Dobes
> Satellite Engineering, Red Hat
> 
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
> 

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel