Hello, all. I'm having a bit of a problem with Cobbler deploying
Ubuntu
Precise (12.04.01, x86_64) Server.
Using the packages straight from the Precise repositories. Cobbler's
working just fine for the hands-off preseeded install, but I need to
configure Puppet slightly before first boot. (Note that Puppet
specifically has nothing to do with this, it's just the exemplar).
I'm trying to pass /etc/puppet/puppet/conf and /etc/default/puppet in
via cobbler so that puppet will pick them up when the system reboots.
Although I'm not receiving any errors, the files are not showing up on
the client.
Note I'm not using koan here post-install, I only want this to happen
once during the preseeded install.
Following the instructions at
https://github.com/cobbler/cobbler/wiki/Built%20in%20configuration%20man
agement, I set up the files I want to inject. Here's the profile
report:
Name : controller-node
TFTP Boot Files : {}
Comment :
DHCP Tag : default
Distribution : precise-x86_64
Enable PXE Menu? : 1
Fetchable Files : {}
Kernel Options : {'netcfg/choose_interface': 'eth0'}
Kernel Options (Post Install) : {}
Kickstart :
/var/lib/cobbler/kickstarts/controller.preseed
Kickstart Metadata : {}
Management Classes : []
Management Parameters : <<inherit>>
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Proxy :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {'/etc/cobbler/puppet.conf.tpl':
'/etc/puppet/puppet.conf', '/etc/cobbler/puppet.default.tpl':
'/etc/default/puppet'}
Virt Auto Boot : 1
Virt Bridge : virbr0
Virt CPUs : 1
Virt Disk Driver Type : raw
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : qemu
When the machine is finished booting after its cobbler-managed install,
the two files are not copied over the default packaged files.
Is this a file overwriting problem? Something Ubuntu specific? Is the
source location for the .tpl files incorrect? The files are not
themselves templates - they don't need to be - and contain no Cheetah
syntax I can determine.
--
Chris Doherty, B.Math
Software Engineer
Advanced Systems Engineering
FLEXComputing
chris.doherty(a)ca.flextronics.com
www.flextronics.com
Ph +1 289 288 1509
Fax +1 289 288 1549
Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is
intended to be read only by the individual or entity to whom it is addressed or by their
designee. If the reader of this message is not the intended recipient, you are on notice
that any distribution of this message, in any form, is strictly prohibited. If you have
received this message in error, please immediately notify the sender and delete or destroy
any copy of this message!
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler Hi Chris,
debian/ubuntu support is in experimental stage at the moment. I spent
some time recently with debian version. In general configuration
management is implemented trough the use of snippets. Redhat and
derivatives use download_config_files snippet and I modified if for
debian making download_config_files_deb version. It was merged into the
master branch on the github about two months ago. It should work on
ubuntu also, but i tested it on deban only. For that to work you need to
include the snippet into you preseed file, of course. The example is in
the sample.seed file on the same branch on github ( near the end of the
file )
Hope that helps,
Leon