I found a solution for this problem which I am not sure it is the most
elegant but works fine.
I am adding the export FACTER_* statement to /etc/default/puppet
This way it is guarantee the variables will be available to puppet and
facter.

On Aug 2, 10:19 pm, edovale <[email protected]> wrote:
> Folks,
> I am adding a line to /etc/profile to export a FACT like this: export
> FACTER_system_role=<system_role>.
> In ubuntu, running puppet 2.6.4 and facter 1.5.8, this fact is not
> making it to the server.
> If I run sudo env | grep FACTER i see all facter related env variables
> there..
> What could be the reason for this not working?
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to