[augeas-devel] iscsid - lense

Raphaël Pinson raphael.pinson at camptocamp.com
Tue Nov 4 09:57:10 UTC 2014


Hi Royee,

The problem is not the line you need. Augeas needs to understand the full
file, not just the line you want to add. If there is a statement in the
file that Augeas cannot parse, it will not let you modify anything in this
file.





On Tue, Nov 4, 2014 at 10:48 AM, Royee Tager <royeectu at gmail.com> wrote:

> Simplevars didn't work.
> Anyone?
>
> On Tue, Oct 28, 2014 at 10:28 PM, Royee Tager <royeectu at gmail.com> wrote:
>
>> Actually, I need the following line:
>> node.session.timeo.replacement_timeout = 15
>>
>> Can I use the Simplevars? What do I need to do?
>>
>> On Tue, Oct 28, 2014 at 3:51 PM, Raphaël Pinson <
>> raphael.pinson at camptocamp.com> wrote:
>>
>>> From looking at
>>> https://raw.githubusercontent.com/mikechristie/open-iscsi/master/etc/iscsid.conf,
>>> the format seems rather simple, yet not standard at all.
>>>
>>> In particular, the funny bits are lines like:
>>>
>>> node.conn[0].timeo.login_timeout = 15
>>>
>>>
>>> If it weren't for these, it would fit in Simplevars.lns actually. Maybe
>>> Simplevars.lns could be adapted to accept this format without breaking the
>>> existing supported formats.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Oct 28, 2014 at 2:41 PM, Royee Tager <royeectu at gmail.com> wrote:
>>>
>>>> Hi Raphael,
>>>>
>>>> Thanks for answering.
>>>> I have copied it from the Internet.
>>>> I don't know how to create a lense.
>>>> I need to lense for iscsid.conf
>>>> What can I do?
>>>>
>>>> On Mon, Oct 27, 2014 at 5:32 PM, Royee Tager <royeectu at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Raphael,
>>>>>
>>>>> Thanks for answering.
>>>>> I have copied it from the Internet.
>>>>> I don't know how to create a lense.
>>>>> I need to lense for iscsid.conf
>>>>> What can I do?
>>>>>
>>>>> On Mon, Oct 27, 2014 at 5:28 PM, Raphaël Pinson <
>>>>> raphael.pinson at camptocamp.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>
>>>>>> This lens is definitely not finished. It's missing the `xfm`
>>>>>> statement definition, and most likely an `lns` definition as well.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Raphaël Pinson
>>>>>> Infrastructure Developer & Training Leader
>>>>>> +33 479 26 57 93
>>>>>> +33 781 90 00 79
>>>>>>
>>>>>> Camptocamp France
>>>>>> Savoie Technolac
>>>>>> BP 352
>>>>>> 48, avenue du Lac du Bourget
>>>>>> 73372 Le Bourget du Lac, Cedex
>>>>>> www.camptocamp.com
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Raphaël Pinson
>>> Infrastructure Developer & Training Leader
>>> +33 479 26 57 93
>>> +33 781 90 00 79
>>>
>>> Camptocamp France
>>> Savoie Technolac
>>> BP 352
>>> 48, avenue du Lac du Bourget
>>> 73372 Le Bourget du Lac, Cedex
>>> www.camptocamp.com
>>>
>>
>>
>


-- 
Raphaël Pinson
Infrastructure Developer & Training Leader
+33 479 26 57 93
+33 781 90 00 79

Camptocamp France
Savoie Technolac
BP 352
48, avenue du Lac du Bourget
73372 Le Bourget du Lac, Cedex
www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20141104/5c59193d/attachment.htm>


More information about the augeas-devel mailing list