Hi all,
I would like push some config files with a fresh deployment. I followed the
documentation https://fedorahosted.org/cobbler/wiki/BuiltinConfigManagement,
but I don't perceive the subtlety of the syntax of the file source : if I don't
need to manipulate cheetah variables, the file maybe one standard config file
(ex: multipath.conf) ?
cobbler profile edit --name=my_ks_RHEL5
--template-files=/tmp/multipath.conf=/etc/foo.conf
dictionary update sequence element #0 has length 1; 2 is required
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 83, in main
rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 61, in run
return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 122, in run
return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_profile.py", line 1
71, in run
return self.object_manipulator_finish(obj, self.api.profiles, self.options)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 434, in obje
ct_manipulator_finish
rc = collect_fn().add(obj, save=True, with_sync=opt_sync, with_triggers=opt_
triggers, check_for_duplicate_netinfo=check_dup)
File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 280, in ad
d
self.lite_sync.add_single_profile(ref.name)
File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py", line 117,
in add_single_profile
self.add_single_system(k.name)
File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py", line 149,
in add_single_system
self.sync.pxegen.write_templates(system)
File "/usr/lib/python2.4/site-packages/cobbler/pxegen.py", line 621, in write_
templates
blended.update(templates) # make available at top level
Have you an example ?
Thanks
Stef
________________________________
L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut
etre tenu responsable de son contenu. Toute utilisation ou diffusion non
autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci
de le detruire et d'avertir l'expediteur.
Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si
necessaire
The integrity of this message cannot be guaranteed on the Internet. Natixis can
not therefore be considered responsible for the contents. Any unauthorized use
or dissemination is prohibited. If you are not the intended recipient of this
message, then please delete it and notify the sender.
Let us mind the environment : let's print our mails only when necessary.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler