Ask Your Question
0

Using Facter.add gives me "Syntax error at '.' <modulename>:4

asked 2018-08-15 17:52:26 -0600

winterstoirm gravatar image

Trying to define a custom fact starting with

require 'facter'

# Custom fact to see if the long path exists
Facter.add(:LongPath) do

and I keep getting a message about a syntax error at the "." in my Facter.add statement

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-27 11:53:28 -0600

binford2k gravatar image

Without the actual error, all I can do is point you at the custom fact documentation which explains how to create the fact.

https://puppet.com/docs/facter/latest...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-08-15 17:52:26 -0600

Seen: 47 times

Last updated: Aug 27