install additional packages in vagrant box configured in puphpet

458 Views Asked by At

I wan to know if for installing something like vim I have to run the command apt-get install vim or should I change my puphpet config.yaml to do this and then do a vagrant up will the later start the whole process of downloading and installation all over again?

1

There are 1 best solutions below

1
On

You should not manually install anything within your Puppet-managed VM. Use the config.yaml! Simply add the required package to the server.packages array and then run $ vagrant provision.