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 int 
he ks.cfg file?

here is a view on how that ks.cfg looks at the end:

%post
#!/bin/bash
apt-get install -y git openssh-server minicom
apt-get install -y puppet
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | 
tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" 
| tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
sudo puppet-agent --enable
sudo puppet-agent apply /cdrom/puppet/install.pp
%end



Am Montag, 12. Juni 2017 15:41:17 UTC+2 schrieb 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 wrote:
>>
>> ...
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/05b007a2-4068-4c48-920d-9854eb5dee6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to