[katello-devel] Default user to have an environment and an org?

Tom McKay thomasmckay at redhat.com
Thu Nov 3 13:39:55 UTC 2011



----- Original Message -----
> From: "Cliff Perry" <cperry at redhat.com>
> To: "Tom McKay" <thomasmckay at redhat.com>
> Cc: katello-devel at redhat.com
> Sent: Thursday, November 3, 2011 9:27:14 AM
> Subject: Re: [katello-devel] Default user to have an environment and an org?
> 
> On 11/03/2011 09:11 AM, Tom McKay wrote:
> > 
> > Specifying the environments for the initial org would also be an
> > important thing to be able to configure during setup.
> > 
> > 
> 
> But shouldn't the creation of environments be done during WebUI post
> installation. The idea of installation is to get to the bare bones
> functioning system to then use.
> 
> Environment creation is something that is beyond installation IMHO
> and
> disagree that the installer should drive initial creation of them.
> Stock
> installation you have Locker. Locker is where content is sucked into.
> You create environments when you want to start to manage the content,
> systems, etc.
> 
> Cliff
> 

That seems reasonable.

> 
> 
> > ----- Original Message -----
> >> From: "Cliff Perry" <cperry at redhat.com>
> >> To: "Tyler Smart" <tsmart at redhat.com>
> >> Cc: katello-devel at redhat.com
> >> Sent: Wednesday, November 2, 2011 10:54:44 PM
> >> Subject: Re: [katello-devel] Default user to have an environment
> >> and an org?
> >>
> >> On 11/02/2011 04:27 PM, Tyler Smart wrote:
> >>> Cliff,
> >>>
> >>> I guess my revised question would be about setting up a default
> >>> environment for the ACME corporation. But the product is not
> >>> going
> >>> to ship with ACME Corporation as the name of the default org, is
> >>> it?
> >>>
> >>> ----- Original Message -----
> >>> From: "Cliff Perry" <cperry at redhat.com>
> >>> To: "Tyler Smart" <tsmart at redhat.com>
> >>> Cc: katello-devel at redhat.com
> >>> Sent: Wednesday, November 2, 2011 4:07:40 PM
> >>> Subject: Re: [katello-devel] Default user to have an environment
> >>> and an org?
> >>>
> >>> On 11/02/2011 03:56 PM, Tyler Smart wrote:
> >>>> Hi all,
> >>>>
> >>>> When Katello is installed via RPM, will a script be run to give
> >>>> the
> >>>> default superuser a default environment and org? That way if any
> >>>> machine
> >>>
> >>> We do that today - admin / admin
> >>>
> >>> When you login, it goes to ACME Org and within that org you
> >>> create
> >>> a new
> >>> Environment beyond Locker and then use newer(newest)
> >>> subscription-manager with the -uadmin -padmin to subscribe.
> >>>
> >>> https://fedorahosted.org/katello/wiki/SystemRegistration
> >>>
> >>> subscription-manager register --force --username=admin
> >>> --password=admin
> >>>
> >>> Cliff
> >>>
> >>>> tryied to register with that username there would not be an
> >>>> error,
> >>>> and
> >>>> it would save the user form having to manually assign one. All
> >>>> users
> >>>> created after this one would have to have an org/env as the UI
> >>>> mandates it.
> >>>>
> >>>> =========
> >>>> Tyler Smart
> >>>> <https://docspace.corp.redhat.com/groups/itrb>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> katello-devel mailing list
> >>>> katello-devel at redhat.com
> >>>> https://www.redhat.com/mailman/listinfo/katello-devel
> >>>
> >>
> >> to answer both, nope, I planned for allowing ACME to be
> >> replace/configured during installation. Same for default
> >> username/password combination of admin/admin.
> >>
> >> These are hard coded today within the seeds.rb file. I have
> >> attached
> >> a
> >> patch which will replace those strings with user defined. I've
> >> done
> >> initial testing which executes fine. I've not had time to do clean
> >> install running with the patch. The new options show up within
> >> --help
> >> output (passed from default answer file).
> >>
> >> # katello-configure --help
> >> Usage: /usr/sbin/katello-configure [options]
> >>         --first-user-name=FIRST_USER_NAME
> >>                                      Katello first user (with
> >> Administrator role)
> >>         --first-user-pass=FIRST_USER_PASS
> >>                                      Katello first user's password
> >>         --first-org-name=FIRST_ORG_NAME
> >>                                      Katello first Organization
> >> [...SNIP...]
> >>
> >> To use, example:
> >>
> >> # katello-configure --first-user-name=foobar
> >> --first-user-pass=wibble
> >> --first-org-name=Clifford
> >>
> >> Input appreciated.
> >>   - Maybe drop the usage of 'first' - this is a given really :)
> >>
> >> The main item I can think off is that I should not be required to
> >> enter
> >> this value within one of the following, but allow it to be unset
> >> and
> >> be
> >> prompted by the installer for the value.
> >>  - default answer file
> >>  - user defined answer file
> >>  - command line option to katello-configure
> >>
> >> Sorry it is not a git patch, just raw diff from test system I've
> >> been
> >> using tonight.
> >>
> >> Thanks,
> >> Cliff
> >>
> >> _______________________________________________
> >> 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