In non-cloud environment, issuing the request to http://169.254.169.254/latest/meta-data causes delay in execution:
Facter: Querying Ec2 metadata
Facter: Trying to connect to http://169.254.169.254/latest/meta-data/ but got: execution expired
How to disable this query (don't need it in a non-cloud environment)?
Tried setting the environment variable FACTER_virtual=generic but that does not suppress this query in non-cloud environment.