Skip to content

Instantly share code, notes, and snippets.

@jeffmccune
Created November 7, 2012 23:52
Show Gist options
  • Save jeffmccune/4035465 to your computer and use it in GitHub Desktop.
Save jeffmccune/4035465 to your computer and use it in GitHub Desktop.
Error converting value for param 'manifest': could not find value for param 'manifestdir': could not find value for param 'confdir'

Error:

$ irb
Welcome to IRB. You are using ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0]. Have fun ;)
>> require 'puppet' #=> true
>> node     = Puppet::Node.new('localhost') #=> #<Puppet::Node:0x007fc1c4926228 @name="localhost", @classes=[], @parameters={}, @facts=nil, @time=2012-11-07 15:50:47 -0800>
>> compiler = Puppet::Parser::Compiler.new(node)
Puppet::Error: Could not parse for environment production: Error converting value for param 'manifest': Error converting value for param 'manifestdir': Could not find value for $confdir
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:253:in `block in convert'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:244:in `gsub'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:244:in `convert'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:974:in `value'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:250:in `block in convert'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:244:in `gsub'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:244:in `convert'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/settings.rb:974:in `value'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/node/environment.rb:213:in `perform_initial_import'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/node/environment.rb:85:in `block in known_resource_types'
        from /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/node/environment.rb:82:in `known_resource_types'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/resource/type_collection_helper.rb:5:in `known_resource_types'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/parser/compiler.rb:415:in `initvars'
        from /workspace/puppet-3.x/src/puppet/lib/puppet/parser/compiler.rb:182:in `initialize'
        from (irb):3:in `new'
        from (irb):3
        from /Users/jeff/.rbenv/versions/1.9.3-p194/bin/irb:12:in `<main>'
>> compiler = Puppet::Parser::Compiler.new(node)
=> #<Puppet::Parser::Compiler:0x007fc1c4a508d8 @node=#<Puppet::Node:0x007fc1c4926228 @name="localhost", @classes=[], @parameters={}, @facts=nil, @time=2012-11-07 15:50:47 -0800>, @exported_resources={}, @resource_overrides={}, @collections=[], @relationships=[], @catalog=#<Puppet::Resource::Catalog:0x007fc1c4a50568 @in_to={Stage[main]{}=>{}}, @out_from={Stage[main]{}=>{}}, @upstream_from={}, @downstream_from={}, @name="localhost", @classes=[], @resource_table={["Stage", "main"]=>Stage[main]{}}, @transient_resources=[], @applying=false, @relationship_graph=nil, @host_config=true, @aliases={}, @version=1352332255, @environment="production", @tags=[]>, @environment=production, @topscope=Scope(), @main_stage_resource=Stage[main]{}, @resources=[]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment