diff options
| author | Luke Kanies <luke@madstop.com> | 2009-03-10 00:32:36 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-03-10 00:32:36 -0500 |
| commit | 90afd48c39bc7bbb8e7afa81a49d2f814a787565 (patch) | |
| tree | fc72b168751f90c0606b9daae7a1994d7bc17497 /spec | |
| parent | 858480b04d84e56aa483c80642dd0512af4fd025 (diff) | |
Not passing file sources on to child files
This was sometimes causing files to get converted to
directories.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/type/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/type/file.rb b/spec/unit/type/file.rb index 01199d0d0..2be388f8e 100755 --- a/spec/unit/type/file.rb +++ b/spec/unit/type/file.rb @@ -598,7 +598,7 @@ describe Puppet::Type.type(:file) do @file.newchild("my/path") end - {:recurse => true, :target => "/foo/bar", :ensure => :present, :alias => "yay"}.each do |param, value| + {:recurse => true, :target => "/foo/bar", :ensure => :present, :alias => "yay", :source => "/foo/bar"}.each do |param, value| it "should not pass on #{param} to the sub resource" do @file = Puppet::Type::File.new(:name => @path, param => value, :catalog => @catalog) |
