how to get notified when puppet fact has some values
43 views
Skip to first unread message
Spriya
unread,
Nov 3, 2014, 2:43:50 PM11/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Hi,
I have created custom facts. how do i know if my custom facts exists and if exists what is the value?
How can i do this in puppet manifests?
please help me
Andreas Dvorak
unread,
Nov 4, 2014, 4:54:30 AM11/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Hi,
you can check it on the server with facter -p name_of_fact
in a class notify{"My fact: $::name_of_fact":}
Andreas
Ryan Anderson
unread,
Nov 4, 2014, 9:15:46 AM11/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
While this isn't in manifests, I'd recommend you setup puppetdb, then hook up the excellent puppetboard to it. It will give you visibility into such things.