diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-09 21:22:25 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-09 21:22:25 +0000 |
| commit | 8ceb1f30496d89f883d9dfa00d5eab001dcd1450 (patch) | |
| tree | 7361801b20a5822c1d7a7101bdea83ec39c372af /test | |
| parent | 4ca7ece1f294488615d5899cb4710c5cb13c5e23 (diff) | |
Found a bug where single-value selectors can fail on a second compile. Fixed it, and am now compiling all snippets twice.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1250 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rwxr-xr-x | test/language/snippets.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb index f45a5799d..c34d1b192 100755 --- a/test/language/snippets.rb +++ b/test/language/snippets.rb @@ -509,6 +509,18 @@ class TestSnippets < Test::Unit::TestCase assert_nothing_raised { client.getconfig() } + + client = Puppet::Client::MasterClient.new( + :Master => server, + :Cache => false + ) + + assert(client.local) + # Now do it again + Puppet::Type.allclear + assert_nothing_raised { + client.getconfig() + } trans = nil assert_nothing_raised { trans = client.apply() |
