Ask Your Question
0

Can serverspec make use of custom facts?

asked 2015-11-26 06:10:45 -0500

schowdhury gravatar image

At the bottom of this page:

http://serverspec.org/advanced_tips.html

It shows how you can add logic in serverspec code based on OS information. Is there a way I can do the same but using custom facts (or external facts) instead?

Thanks, Sher

edit retag flag offensive close merge delete

Comments

Hi Sher - I also want to use custom facts similar like your requirement did you get any update on this.

Chutki gravatar imageChutki ( 2015-12-18 03:33:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-18 00:24:05 -0500

Serverspec doesn't know anything about Puppet, and provides just a few of its own "facts" (I think, just those three mentioned in your link). What you probably need is not Serverspec, but Beaker's extensions to Serverspec e.g. Beaker docs.

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

2 followers

Stats

Asked: 2015-11-26 06:10:45 -0500

Seen: 425 times

Last updated: Feb 18 '16