diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-05-17 00:32:34 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-05-17 00:32:34 +1000 |
commit | e02b0b386ed84384daeb2da0879bf215cfcfa2ef (patch) | |
tree | 36cdd5c3cc6143ce6faccb87ba6461bf5f481a29 /lib/facter/id.rb | |
parent | 9c91a6d3fb9da933d8e1ba4149ee1b5587e6b007 (diff) | |
download | facter-e02b0b386ed84384daeb2da0879bf215cfcfa2ef.tar.gz facter-e02b0b386ed84384daeb2da0879bf215cfcfa2ef.tar.xz facter-e02b0b386ed84384daeb2da0879bf215cfcfa2ef.zip |
Updated version. Moved most facts to seperate files.
Diffstat (limited to 'lib/facter/id.rb')
-rw-r--r-- | lib/facter/id.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/facter/id.rb b/lib/facter/id.rb new file mode 100644 index 0000000..e66745f --- /dev/null +++ b/lib/facter/id.rb @@ -0,0 +1,4 @@ + Facter.add(:id) do + confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS SuSE Debian Gentoo} + setcode "whoami" + end |