I find the problem. I need to specify which environments variables are passed to rc script via the file /etc/conf.d/env_whitelist
On 23 déc 2009, 12:09, Legrave <[email protected]> wrote: > The --factsync only works in test mode. > And the flag factsync=true in puppet.conf has no effect > > I want to target a pool of machines that have an environment variable > in common. > > The FAQ says : > "Facter has a special types of facts that can be set from environment > variables. Any environment variable with a prefix of FACTER will be > taken by Facter and converted into a fact" > > This works well in local but there is no synchronize with puppetmaster > unless I run the client with : puppetd -vt --factsync > > It make me crazy > > > If you want puppetd to inherit environment variables, set them in the > > puppetd init script. > > > I really don't see any value to gain by setting facts this way, but that's > > another discussion. > > > -scott -- 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.
