Why not use Cobblers configuration management?
On Tue, Apr 4, 2017 at 8:57 AM, Personal Técnico <tecnicos(a)caos.uab.es>
wrote:
Hello,
I'm trying to integrate Puppet into Cobbler server. By the moment, I have
change some parameters in /etc/cobbler/settings:
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(a)lists.fedorahosted.org
To unsubscribe send an email to cobbler-leave(a)lists.fedorahosted.org