Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Peter Faller
I've only used kickstart for RedHat and CentOS; but I believe it is almost the same for Ubuntu. What I would suggest is that you catch the output of the %post script like this: %post --log=/root/ks-post.log ... %end ... and then include lots of 'echo' commands to debug. By the time %post runs,

Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Free4All User
I have modified and also checked via which puppet where actually puppet is installed /usr/bin/puppet apply /cdrom/puppet/install.pp it still does not work. Also as it is during the installation procedure can the mount point of the automated formated drive but not sure how i could sort this out dur

Re: [Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Free4All User
and this will work during kickstart? 2017-06-13 9:26 GMT+02:00 Peter Faller : > > > Even if the puppet-agent package is installed, the location of the puppet > executable won't be in the PATH environment variable. What you probably > need is to change it to e.g.: > > /opt/puppetlabs/bin/puppet a

[Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-13 Thread Peter Faller
Even if the puppet-agent package is installed, the location of the puppet executable won't be in the PATH environment variable. What you probably need is to change it to e.g.: /opt/puppetlabs/bin/puppet apply /cdrom/puppet/install.pp On Monday, 12 June 2017 16:23:38 UTC+2, Free4All User wrot

[Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-12 Thread Free4All User
Hello Peter, Puppet is getting installed in the %post section of the ks.cfg file the whole procedure is running til the end - but after i login into ubuntu, nothing of the packages from the install.pp file is on the system. what would be the $PATH (target system?) to enter this and if so where i

[Puppet Users] Re: running puppet apply during kickstart preseed in ubuntu

2017-06-12 Thread Peter Faller
A few questions ... : - does your kickstart successfully install the Puppet agent package? - are you running 'puppet apply' with the correct $PATH (or with a full path to the puppet executable)? - what errors are reported by your %post script? On Monday, 12 June 2017 14:55:45 UTC+2, Free4All User