> On 1 Jul 2019, at 16:17, Josef Reidinger <[email protected]> wrote:
>
> On Mon, 1 Jul 2019 13:54:47 +1000
> William Brown <[email protected]> wrote:
>
>> Hi there,
>>
>> I'm trying to update autoyast to support 389 directory server as part of the
>> auth-server module. I'm having a hard time understanding how the autoyast
>> specification such as
>> https://doc.opensuse.org/projects/autoyast/#Configuration.Network.Ldap
>> relates to the yast-auth-server module? For example, in the new auth-server
>> module for 389, I'm not sure how to give options from auto-yast that would
>> configure the auth-server module correctly.
>>
>> This seems like it would be a great addition to the
>> https://yastgithubio.readthedocs.io/en/latest/README/ guide as well, since
>> there are probably other people beside me who want to know how to get from a
>> yast-module to the autoyast xml.
>>
>> Any advice would be much appreciated!
>
> Hi William, let me answer here and when all team members fine tune answer, we
> can add it to guide.
>
> So where to start? Ideally desktop file:
>
> for example lets see bootloader[1]
>
> autoinst related parts are:
>
> X-SuSE-YaST-AutoInst=configure
> X-SuSE-YaST-AutoInstResource=
> X-SuSE-YaST-AutoInstPath=install
> X-SuSE-YaST-AutoInstSchema=bootloader.rnc
>
> for documentation see desktop file documentation -
> https://github.com/yast/yast-yast2/blob/master/doc/desktop_file.md#autoyast-specific-keys
>
> so there is rnc file which specify schema. You can find it in
> src/autoyast_rnc directory [2].
>
> And where it is processed? For generic modules in client defined in
> X-SuSE-YaST-AutoInstClient or in {module name}_auto if not defined. For API
> of such client we document it in auto client helper at [3]. For example
> client see e.g. bootloader one[4]. And when you have all this, do not forget
> to bump and add requirement to yast2-schema, which collects rnc files and
> create final autoyast schema file.
>
> So to sum it up what to do if you want to add support to yast2-auth-server:
>
> 1. enhance desktop file ([2])
> 2. have auto client [3]
> 3. add requirement and bump yast2-schema
>
> I hope I do not forget anything. Please anyone correct me or clarify whatever
> part of my email, as I am not fluence in autoyast.
No this, was a great help - it helped me to find where in the git history
auth-server support was *removed* from the yast-auth-server module. So I'm
following up on whether there is actually intent to keep auth-server as an
auto-yast module now, and if it is, I'll be certain to use this as a really
helpful guide.
Is this perhaps information that you could contribute to the auto-yast read the
docs, because it would really help someone wanting to integrate a yast module
to auto-yast :)
Thanks so much!
>
> Josef
>
>
> [1]
> https://github.com/yast/yast-bootloader/blob/master/src/desktop/org.opensuse.yast.Bootloader.desktop#L16
> [2]
> https://github.com/yast/yast-bootloader/blob/master/src/autoyast-rnc/bootloader.rnc
> [3]
> https://github.com/yast/yast-yast2/blob/30a9253009a02a8fb0366c372fe82cdb746dfd40/library/general/src/lib/installation/auto_client.rb
> [4]
> https://github.com/yast/yast-bootloader/blob/master/src/clients/bootloader_auto.rb
> respective implementation at
> https://github.com/yast/yast-bootloader/blob/master/src/lib/bootloader/auto_client.rb
>
>>
>> —
>> Sincerely,
>>
>> William Brown
>>
>> Senior Software Engineer, 389 Directory Server
>> SUSE Labs
>>
>
> --
> To unsubscribe, e-mail: [email protected]
> To contact the owner, e-mail: [email protected]
>
—
Sincerely,
William Brown
Senior Software Engineer, 389 Directory Server
SUSE Labs
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]