fixed in svn
Philip Montgomery wrote:
> # uname -a
> Linux foo.example.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
> x86_64 x86_64 x86_64 GNU/Linux
>
> I forgot to note that I only notice this behavior on 3.0.2b5. When I
> try this under 3.0.2b4, there is no trailing dot.
>
> Here is a test case:
>
> {
>
> bundlesequence => {
> test
> };
>
> }
>
> bundle agent test
> {
>
>
> reports:
> linux::
>
>
> "uqhost is ${sys.uqhost}";
> "fqhost is ${sys.fqhost}";
> }
>
> Here is the output using 3.0.2b5:
>
> # /var/cfengine/bin/cf-agent -IK -f /tmp/test.cf
> R: uqhost is foo.
> R: fqhost is foo.example.com
>
> # hostname
> foo.example.com
>
>
>
> On Fri, 2009-07-31 at 05:35 +0200, Mark Burgess wrote:
>> I don't see this. Any data valuable. Please tell me the output of
>> uname -a on your system
>> M
>>
>> Philip Montgomery wrote:
>>> cfengine version 3.0.2b5
>>>
>>> When using ${sys.uqhost} the hostname is returned with a trailing '.' on
>>> the end.
>>>
>>> i.e. example.
>>>
>>> I have not written a test case yet.
>>>
>>> -Phil
>>>
>>>
>>> This e-mail, and any documents or data attached hereto, is intended for the
>>> intended recipients only. It may contain confidential and/or privileged
>>> information and no rights have been waived by the sender. If the reader of
>>> this message is not the intended recipient, or the employee or agent
>>> responsible for delivering the message to the intended recipient, you are
>>> hereby NOTIFIED that any dissemination, distribution, retention, archiving
>>> or copying of this communication is strictly prohibited. If you have
>>> received this e-mail in error, please notify me at the telephone number
>>> shown above or by return mail and delete this communication and any copy
>>> immediately. MEC provides no assurances that this e-mail and its
>>> attachments are virus free; you are responsible for scanning all e-mails
>>> and attachments for viruses. MEC disclaims all liability for damages caused
>>> by any virus which may be transmitted by this email. Thank you.
>>> _______________________________________________
>>> Bug-cfengine mailing list
>>> [email protected]
>>> https://cfengine.org/mailman/listinfo/bug-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine