diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-13 05:21:28 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-13 05:21:28 +0000 |
commit | 0a35c340c544351f6c82817dc2cff7b9fc6895ff (patch) | |
tree | 82142a43ccf95bc02ed2c580ae9e2acb26d8241a | |
parent | ff06a8d6865550c5bfe1a2960df82651fe5277eb (diff) | |
download | puppet-0a35c340c544351f6c82817dc2cff7b9fc6895ff.tar.gz puppet-0a35c340c544351f6c82817dc2cff7b9fc6895ff.tar.xz puppet-0a35c340c544351f6c82817dc2cff7b9fc6895ff.zip |
Removing some debugging, and trying to track down a bug where symlinks get recreated for now reason
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1867 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/type/pfile/target.rb | 1 | ||||
-rwxr-xr-x | test/types/file.rb | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/pfile/target.rb b/lib/puppet/type/pfile/target.rb index a7a219c0c..8c22b10b9 100644 --- a/lib/puppet/type/pfile/target.rb +++ b/lib/puppet/type/pfile/target.rb @@ -25,7 +25,6 @@ module Puppet # Create our link. def mklink - notice @is.inspect target = self.should # Clean up any existing objects. diff --git a/test/types/file.rb b/test/types/file.rb index 8c0c50d76..28cb6c754 100755 --- a/test/types/file.rb +++ b/test/types/file.rb @@ -951,6 +951,7 @@ class TestFile < Test::Unit::TestCase file = nil assert_nothing_raised { file = Puppet.type(:file).create( + :title => "somethingelse", :ensure => path, :path => link ) @@ -964,6 +965,8 @@ class TestFile < Test::Unit::TestCase # Make sure running it again works assert_events([], file) + assert_events([], file) + assert_events([], file) end def test_simplerecursivelinking |