FAQ
Do you have pluginsync enabled in pupppet.conf?

[main]
pluginsync = true

Regards,

Adam
On Jun 29, 8:46 am, Spter wrote:
Hi,

i like to use some custom facts.
My clients are connectet to 1 puppetmaster with mod_passenger and all works
fine.

Both on puppetmaster and my node:
puppet.conf:
pluginsync = true

on my puppetmaster:
modules/system/manifest/init.pp:
file { "/root/my_oc4j":
ensure => link,
target => "/var/${::oc4j}",

}

modules/system/lib/facter/oc4j.rb:
Facter.add("oc4j") do
"ja"
end

When i called on my node:
puppet agent --no-daemonize --onetime --ignorecache --verbose --noop
no error occurs, but the link looks like:
my_oc4j -> /var/

So, when i modify the init.pp like:
file { "/root/my_oc4j":
ensure => link,
target => "/var/$oc4j",}

The link looks like the same.

Does anyone have a idea?

Greetz

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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJun 29, '12 at 1:49p
activeJun 29, '12 at 11:01p
posts3
users3
websitepuppetlabs.com

3 users in discussion

Spter: 1 post Tim Mooney: 1 post Ad: 1 post

People

Translate

site design / logo © 2022 Grokbase