puppetlabs/puppetlabs-cloud-provisioner — pull request #59 by ccaum (2011-11-22 21:25:03+00:00)
Title: (#10971) Adding --facts options for install action

The --facts option installs custom facts using facter-dot-d. Each fact
gets its own .txt file in /etc/facts.d. On the command line, facts
are comma separated and are set using = character. For example:
fact1=value,fact2=value makes two facts, 'fact1' and 'fact2' with
both having values of 'value'. Only the first '=' character is
matched so a fact set using fact=value=2 will result in a fact
called 'fact' with value 'value=2'. Currently you can not escape
the ',' character.

The puppet-community, puppet-enterprise, and puppet-enterprise-http
install scripts have been modified to install the custom facts if
present. Since PE comes with the facter-dot-d plugin, it will
'just work,' however the module will have to be installed on
any community installs for the facts to be available to facter