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