summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/client/master.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/puppet/client/master.rb b/lib/puppet/client/master.rb
index ee687cd3e..4a4541e7c 100644
--- a/lib/puppet/client/master.rb
+++ b/lib/puppet/client/master.rb
@@ -28,7 +28,9 @@ class Puppet::Client::MasterClient < Puppet::Client
is used for retrieval, so anything that is a valid file source can
be used here."],
:pluginsync => [false,
- "Whether plugins should be synced with the central server."]
+ "Whether plugins should be synced with the central server."],
+ :pluginsignore => [".svn CVS",
+ "What files to ignore when pulling down plugins.."]
)
@drivername = :Master
@@ -439,7 +441,9 @@ class Puppet::Client::MasterClient < Puppet::Client
plugins.push Puppet::Type.type(:file).create(
:path => Puppet[:pluginpath],
:recurse => true,
- :source => Puppet[:pluginsource]
+ :source => Puppet[:pluginsource],
+ :ignore => Puppet[:pluginsignore].split(/\s+/),
+ :tag => "plugins"
)
trans = plugins.evaluate