diff options
author | Luke Kanies <luke@madstop.com> | 2008-10-27 17:21:21 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-11-04 16:20:45 -0600 |
commit | a4d4444ba216cb3627e03bb45e2eb92424740a44 (patch) | |
tree | 5592e974fc843049a9378541cab3dcd729d1fc9d /lib | |
parent | b4f4866b452cad870e635a8c97e265bd47e3f5ff (diff) | |
download | puppet-a4d4444ba216cb3627e03bb45e2eb92424740a44.tar.gz puppet-a4d4444ba216cb3627e03bb45e2eb92424740a44.tar.xz puppet-a4d4444ba216cb3627e03bb45e2eb92424740a44.zip |
Removing obsolete methods and tests:
Removing obsolete handleignore method
Removing obsolete FileSource class
Removing a now-obsolete test/unit test
Removing a now-obsolete recursive filebucket test
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/type/file.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/puppet/type/file.rb b/lib/puppet/type/file.rb index 24ffc4a95..922550bd8 100644 --- a/lib/puppet/type/file.rb +++ b/lib/puppet/type/file.rb @@ -439,18 +439,6 @@ module Puppet end end - def handleignore(children) - return children unless self[:ignore] - self[:ignore].each { |ignore| - ignored = [] - Dir.glob(File.join(self[:path],ignore), File::FNM_DOTMATCH) { - |match| ignored.push(File.basename(match)) - } - children = children - ignored - } - return children - end - def initialize(hash) # Store a copy of the arguments for later. tmphash = hash.to_hash @@ -857,12 +845,6 @@ module Puppet end end # Puppet.type(:pfile) - # the filesource class can't include the path, because the path - # changes for every file instance - class ::Puppet::Type::File::FileSource - attr_accessor :mount, :root, :server, :local - end - # We put all of the properties in separate files, because there are so many # of them. The order these are loaded is important, because it determines # the order they are in the property lit. |