I'm learning about vagrant and puppet. When I use the vagrant lucid32 (Ubuntu 10.04), puppet seems very slow. I've fixed the fqdn problem (question 7780322) but it's still very slow.
I've traced (part of) the problem to facter. Asking for ipaddress is very quick, but ipaddress_eth0 takes 20 seconds:
root@a:/# time facter ipaddress
10.0.2.15
real 0m0.031s
user 0m0.024s
sys 0m0.004s
root@a:/# time facter ipaddress_eth0
10.0.2.15
real 0m20.126s
user 0m0.080s
sys 0m0.020s
root@a:/#
Looking for ipaddress_lo is also slow.
Can anyone help me with a solution or a suggestion for how to debug this? I'm new to Ruby, but willing to learn.
Thanks.