diff options
| author | Luke Kanies <luke@madstop.com> | 2005-08-09 22:47:32 +0000 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2005-08-09 22:47:32 +0000 |
| commit | bb4b5a544e85e5a56065ebb5dd175fbdea7280d2 (patch) | |
| tree | c26ed941fe70d4674a6bea700135dd76f58a8d8c /test/other | |
| parent | e2e247428faa15c299a5dc7bc802afa4a2dbc74a (diff) | |
| download | puppet-bb4b5a544e85e5a56065ebb5dd175fbdea7280d2.tar.gz puppet-bb4b5a544e85e5a56065ebb5dd175fbdea7280d2.tar.xz puppet-bb4b5a544e85e5a56065ebb5dd175fbdea7280d2.zip | |
done a lot of work on certificates; all tests except one puppetca test pass
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@523 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/other')
| -rw-r--r-- | test/other/tc_selector.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/other/tc_selector.rb b/test/other/tc_selector.rb index 7c8ffbd68..47e0d9ff5 100644 --- a/test/other/tc_selector.rb +++ b/test/other/tc_selector.rb @@ -5,14 +5,15 @@ if __FILE__ == $0 end require 'puppet/selector' +require 'facter' require 'test/unit' # $Id$ class TestSelector < Test::Unit::TestCase def setup - @os = Puppet::Fact["operatingsystem"] - @hostname = Puppet::Fact["hostname"] + @os = Facter["operatingsystem"].value + @hostname = Facter["hostname"].value Puppet[:loglevel] = :debug if __FILE__ == $0 end @@ -22,7 +23,7 @@ class TestSelector < Test::Unit::TestCase assert_nothing_raised() { selector = Puppet::Selector.new { |select| select.add("value1") { - Puppet::Fact["hostname"] == @hostname + Facter["hostname"].value == @hostname } } } |
