I'm using the Learning Puppet VM in VirtualBox and am getting slow performance (1 to 2 minutes per command) specifically for puppet
commands.
puppet
itself is oblivious to these performance issues, reporting response times as under a second:
Notice: Compiled catalog for learn.localdomain in environment production in 0.15 seconds
Notice: /Stage[main]//User[katie]/ensure: removed
Notice: Finished catalog run in 0.45 seconds
Since normal Linux commands like ls
execute instantaneously, I'm assuming this is not an issue of the VM needing more memory or CPU allocation from VirtualBox. Is there a way to configure puppet
on the VM to increase performance?
it's a network problem. You have to put the IP adress of your running VM into /etc/host (in the puppet-learning VM!) ! For example: 10.211.55.6 learn.puppetlabs.vm learn
Thats all! :)