How are you deploying the module? Facter won't load module based facts by
default, you need to use 'facter -p' to have Facter load those facts.

On Tuesday, November 5, 2013, Sergey Sudakovich wrote:

> When I deploy a module I wrote with couple of custom facts, those facts do
> not show up in factor.
> But when I point FACTORLIB to the directory with those factor, they work
> just fine.
> I am running a masterless puppet version 2.7.22 and factor 1.7.1
> The module structure looks like so:
>
> -license
> ---lib
> -----facter
> -------license.rb
> -------hardware_serial.rb
> -----puppet
>
>
> Any idea what is causing this problem or at least where to start the
> debugging?
>
> --
> 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 puppet-users+unsubscr...@googlegroups.com <javascript:_e({},
> 'cvml', 'puppet-users%2bunsubscr...@googlegroups.com');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/58f49f57-f55c-425f-b408-1b286336ddb7%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
Matthaus Owens
Release Manager, Puppet Labs

Join us at PuppetConf 2014, September 23-24 in San Francisco

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CACD%3DwAfUsG7POPVR-z9Q%3DPgJWit0iSAk1U6K1LqzsWjZ5qQ6FA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to