d9a3c7617a
This moves all facts and puppet plugins to the plugins/ directory of modules to get the benefits of Matt's plugins patch, that distributes these files before the configuration is requested. This reduces the number of configuration runs to convergence by one.
7 lines
161 B
Ruby
7 lines
161 B
Ruby
# get the basename of the given filename
|
|
module Puppet::Parser::Functions
|
|
newfunction(:basename, :type => :rvalue) do |args|
|
|
File.basename(args[0])
|
|
end
|
|
end
|
|
|