Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you define the datacenter variable in local scope it should override the facter value of datacenter fact. You can read more about scope of variables and facts here.

Please note there are few facts which can't be overridden or can't be defined even in local scope. Hope it helps.