Overriding puppet facts
Use export FACTER_myfactname=overridevalue, e.g. export FACTER_countrycode=USA puppet agent -t This is useful when a fact is normally set during the initial puppet run, but the node catalog won’t compile until the fact is already set on the node (i.e. if you can’t…