Why not use Cobblers configuration management?
so when Cobbler installs a new machine, during installation process installs also puppet package, generates a new certificate, signs it and update files that have been configured in Puppet manifest.
puppet_auto_setup: 1
sign_puppet_certs_automatically: 1
puppetca_path: "/usr/bin/puppet"
remove_old_puppet_certs_automatically: 1
puppet_server: 'puppet'
puppet_version: 3
With that, when I install a new machine, puppet is executed correctly there but daemon "puppet" is configured as "enabled", so it rexecutes "puppet agent -t" each time (depending of puppet agent configuration).
What I want to get is configure puppet for executing just one time during installation. Because of I configure "system poweroff" in kickstart file, if I restarted that computer, puppet service will be "disabled" and, if I need reexecute it, I will do "by hand".
I have tried to add a last line in kickstart as "systemctl stop puppet" and "systemctl disable puppet", but with that both command, puppet doesn't executed even the first time :( :( :(
Could anyone help me???
Thanks.
_______________________________________________
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-leave@lists.fedorahosted.org