Issue #15847 has been updated by Josh Cooper.

Description updated
Status changed from Unreviewed to Needs More Information
Keywords set to hiera hiera-puppet scope

Hi Lee, starting with Puppet 3, hiera-puppet is no longer needed, as that 
functionality is in puppet itself. It may be that `hiera-puppet` is causing 
problems. Can you try uninstalling `hiera-puppet`, and retrying. If the problem 
persists, can you provide a minimal manifest that demonstrates the problem?
----------------------------------------
Bug #15847: undefined method `catalog'
https://projects.puppetlabs.com/issues/15847#change-76949

Author: Lee Lowder
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: hiera hiera-puppet scope
Branch: 


On a fresh install of Ubuntu 12.04 (32bit server), puppet* 
3.0.0-0.1rc3puppetlabs1, hiera 1.0.0-0.1rc4 and (from source) hiera-puppet 
1.0.0-0.1rc2

I am now getting the following when I run `puppet agent --test`.

<pre>
Error 400 on SERVER: undefined method `catalog' for #&lt;Hash:0xb6a328b4> at 
/etc/puppet/environments/test/manifests/nodes/puppet_local_test.pp:8
</pre>

On this node def, I have tried both:

<pre>
include basenode
</pre>

and 

<pre>
    class { 'basenode':
      is_puppet_master => true,
    }
</pre>

The top part of the basenode class:

<pre>
    class basenode ($is_puppet_master = false, $apt_host = 'repo.XXXXX.com') {
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to