Hi guys!

I need your help: I've installed "SQL-Lite3" on my puppetmaster. I 
activated "storeconfigs" both on my puppetmaster and puppetagent. I'm 
trying to collect all SSH-public keys from all Agents: 
site.pp:
class exporter {
  @@file {$fqdn:
     path => "/var/lib/puppet/$fqdn",
     content => "$ipaddress\n",
     tag => "ip",
}

node "agentx.domain1" {
  include exporter
}

node "master.domain1" {
  File <<| tag == "ip" |>>
}

If i execute the following command, it works on the Puppetmaster:
>puppet agent --test

but if I do that on the Agent "agentx.domain1" then I get this error 
message:
Info: ActiveRecord 2.1 or later required for StoreConfigs
err: Cached facts for agentx.domain1 failed: Could'nt autoload active 
record: uninitialized constant ActiveRecord

Can someone give me a hint?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to