summaryrefslogtreecommitdiff
path: root/code/environments/production/modules/certregen/lib/facter/hostcrl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/environments/production/modules/certregen/lib/facter/hostcrl.rb')
-rw-r--r--code/environments/production/modules/certregen/lib/facter/hostcrl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/environments/production/modules/certregen/lib/facter/hostcrl.rb b/code/environments/production/modules/certregen/lib/facter/hostcrl.rb
new file mode 100644
index 0000000..1d69a66
--- /dev/null
+++ b/code/environments/production/modules/certregen/lib/facter/hostcrl.rb
@@ -0,0 +1,4 @@
+Facter.add(:hostcrl) do
+ confine :has_puppet => true
+ setcode { Puppet[:hostcrl] }
+end