summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-04-13 14:38:23 -0700
committerNick Lewis <nick@puppetlabs.com>2011-04-13 15:41:03 -0700
commit24a277c5e805ce16e0b86e17e6cb2fbe1945ae07 (patch)
treea9a3a3427e2b20829c3de699483a117f3f65fb22 /lib/puppet/application
parentfc36e8de8cdf32ae13b9241f9a9eef4c2727056e (diff)
downloadpuppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.tar.gz
puppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.tar.xz
puppet-24a277c5e805ce16e0b86e17e6cb2fbe1945ae07.zip
(#6928) Removed --ignoreimport
This was only used with --parseonly, which is gone. Paired-With: Jesse Wolfe
Diffstat (limited to 'lib/puppet/application')
-rw-r--r--lib/puppet/application/agent.rb4
-rw-r--r--lib/puppet/application/apply.rb5
-rw-r--r--lib/puppet/application/master.rb5
3 files changed, 10 insertions, 4 deletions
diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb
index fc8616817..317a61436 100644
--- a/lib/puppet/application/agent.rb
+++ b/lib/puppet/application/agent.rb
@@ -429,10 +429,6 @@ Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License
Puppet.settings.use :main, :agent, :ssl
- # Always ignoreimport for agent. It really shouldn't even try to import,
- # but this is just a temporary band-aid.
- Puppet[:ignoreimport] = true
-
# We need to specify a ca location for all of the SSL-related i
# indirected classes to work; in fingerprint mode we just need
# access to the local files and we don't need a ca.
diff --git a/lib/puppet/application/apply.rb b/lib/puppet/application/apply.rb
index 5779e799c..a63c2ddae 100644
--- a/lib/puppet/application/apply.rb
+++ b/lib/puppet/application/apply.rb
@@ -31,6 +31,11 @@ class Puppet::Application::Apply < Puppet::Application
exit 1
end
+ option("--ignoreimport") do
+ puts "--ignoreimport has been removed. Please use 'puppet parser validate <manifest>'"
+ exit 1
+ end
+
def help
<<-HELP
diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb
index a90829ae0..924e671fb 100644
--- a/lib/puppet/application/master.rb
+++ b/lib/puppet/application/master.rb
@@ -30,6 +30,11 @@ class Puppet::Application::Master < Puppet::Application
exit 1
end
+ option("--ignoreimport") do
+ puts "--ignoreimport has been removed. Please use 'puppet parser validate <manifest>'"
+ exit 1
+ end
+
def help
<<-HELP