On Fri, 25 Mar 2011 11:41:08 +0000, Steven Goodliff 
<[email protected]> wrote:
> Hi,
> 
> I tried to specify a -template-files="" line to a profile that referenced a 
> java ca cert file so that we could update all our servers with the koan 
> update-files.
> 
> However cobbler/ cheetah tried to parse it and fails, so i added a #raw and 
> #end raw but I still get the same error.
> 
> cobbler system edit --name=app01 
> --template-files="/var/www/cobbler/localmirror/software/cacertssjg=/usr/java/default/jre/lib/security/cacerts"
> 
> Traceback (most recent call last):
>   File "/usr/bin/cobbler", line 35, in ?
>     sys.exit(app.main())
>   File "/usr/lib/python2.4/site-packages/cobbler/cli.py", line 509, in main
>     rc = cli.run(sys.argv)
>   File "/usr/lib/python2.4/site-packages/cobbler/cli.py", line 195, in run
>     self.object_command(object_type, object_action)
> File "/usr/lib/python2.4/site-packages/cobbler/cli.py", line 263, in 
> object_command
>     self.remote.xapi_object_edit(object_type, options.name, object_action, 
> utils.strip_none(vars(options), omit_none=True), self.token)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
>     p.feed(response)
>   File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
>     self._parser.Parse(data, 0)
> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 18, 
> column 6
> 
> Is there any way to force cobbler cheetah to totally disable the parsing and 
> just to serve the file as is ?

There are 'raw' directives that you can put around the file. I think
that would be the best way to fix that issue for you.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME

Attachment: pgpQpfP1i4R6U.pgp
Description: PGP signature

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to