Ryan Klein
2008-Aug-04 02:15 UTC
[Puppet Users] Problem getting a basic Puppet install working on Debian
Well I am new to Puppet and I''ve tried looking through the documentation but couldn''t find a resolution. I have a basic Puppet install with one master (DebianPuppetMaster) and one node (DebianPuppetClient01). I am using version 0.24.4-8 for puppet and puppetmaster from Debian Etchs ''testing'' repository. The master has a basic setup and the site.pp looks as follows: -- # site.pp import "functions.pp" import "os/*" import "classes/*" node "debianpuppetclient01.localdomain" { include debian } node default { include base } -- Now I do have the hosts file setup properly so they see each other properly (192.168.84.134 debianpuppetmaster.localdomain and 192.168.84.135 debianpuppetclient01). The certificate exchange went well but the problem I am having now is I get the following error; info: Could not find class debian for DebianPuppetClient01.localdomain err: Could not find class debian at /etc/puppet/manifests/site.pp:11 on node DebianPuppetClient01.localdomain I have the file debian.pp in /etc/puppet/manifests/classes/debian.pp on the master. I have tried to create it on the client to see if that solved the problem and didn''t. If you have any suggestions, I would appreciate it. If you need further information, please let me know. Regards, Ryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-Aug-04 04:12 UTC
[Puppet Users] Re: Problem getting a basic Puppet install working on Debian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ryan Klein wrote:> I have the file debian.pp in /etc/puppet/manifests/classes/debian.pp > on the master. I have tried to create it on the client to see if that > solved the problem and didn''t.Do you have a class called debian defined in that file too? Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIloG89hTGvAxC30ARAmDDAKC7CID5hkbKlJggYIjXnHlhI0hCSACgtack GzuReVGGVdCoBIhZZ9HuZQk=TMbP -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---