[Spacewalk-devel] First organization creating

2015-12-01 Thread Jan Dobes

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,
--
Jan Dobes
Satellite Engineering, Red Hat

___
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