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