aboutsummaryrefslogtreecommitdiff
path: root/plugins/facter/xen.rb
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-07-03 10:41:02 -0400
committerMicah Anderson <micah@riseup.net>2009-07-03 10:41:02 -0400
commit2d8407aba6d63a3063da5dcd4a152606cc52b151 (patch)
tree1fe44e091703e240ecc266825cc94b1d4c097dd4 /plugins/facter/xen.rb
parent52f8e37678789a6c94efe8efaf40efc4e7de7388 (diff)
downloadpuppet-virtual-2d8407aba6d63a3063da5dcd4a152606cc52b151.tar.gz
puppet-virtual-2d8407aba6d63a3063da5dcd4a152606cc52b151.tar.bz2
the virtual facts no longer need to be added because the newer facter includes them (and more)
Diffstat (limited to 'plugins/facter/xen.rb')
-rw-r--r--plugins/facter/xen.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/facter/xen.rb b/plugins/facter/xen.rb
deleted file mode 100644
index 0ea8fa2..0000000
--- a/plugins/facter/xen.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# xen.rb -- linux-vserver.org related facts
-# Copyright (C) 2008 Puzzle ITC
-# See LICENSE for the full license granted to you.
-
-Facter.add("xen_domains") do
- confine :virtual => :xen0
- ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin"
- setcode do
- %x{xm list | egrep -v '(^Name|^Domain-0)' | wc -l}.chomp
- end
-end
-