Hello, I would like to manage configs for the server that is also the puppetmaster. I declare a simple node (just write out a file) and ran this: puppetd --test --graph -w 10 --server puppetmaster.example.com And got this error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with ''puppetmaster.example.com, puppetmaster'' on node puppetmaster.example.com Anyone knows why and how to make it work? Thanks -- 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.
Its not exactly the answer to your question, but you can add --certname not.the.server to create a name to differentiate from the server ssl certs. On Wed, May 19, 2010 at 6:03 PM, mathie <adspeed@gmail.com> wrote:> Hello, > > I would like to manage configs for the server that is also the > puppetmaster. I declare a simple node (just write out a file) and ran > this: > > puppetd --test --graph -w 10 --server puppetmaster.example.com > > And got this error: > > Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not find default node or by name with ''puppetmaster.example.com, > puppetmaster'' on node puppetmaster.example.com > > Anyone knows why and how to make it work? Thanks > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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.
Peter Meier
2010-May-20 10:17 UTC
Re: [Puppet Users] Run puppetd on the same as puppetmaster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/20/2010 03:03 AM, mathie wrote:> Hello, > > I would like to manage configs for the server that is also the > puppetmaster. I declare a simple node (just write out a file) and ran > this: > > puppetd --test --graph -w 10 --server puppetmaster.example.com > > And got this error: > > Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not find default node or by name with ''puppetmaster.example.com, > puppetmaster'' on node puppetmaster.example.com > > Anyone knows why and how to make it work? Thanksyou don''t have a node defined for puppetmaster.example.com or puppetmaster + no default node. So nothing like node puppetmaster.example.com {} or node puppetmaster {} or node default {} in your site.pp cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv1DDYACgkQbwltcAfKi39KuQCdGc+jdovdkwa3mWOszZutoo9D jRsAoIxOwy9yMRlIfrwlRb0qqveVig20 =J8R2 -----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.
Peter Berghold
2010-May-20 12:53 UTC
Re: [Puppet Users] Run puppetd on the same as puppetmaster
I hope you are not literally using puppet.example.com On May 19, 2010 9:13 PM, "mathie" <adspeed@gmail.com> wrote: Hello, I would like to manage configs for the server that is also the puppetmaster. I declare a simple node (just write out a file) and ran this: puppetd --test --graph -w 10 --server puppetmaster.example.com And got this error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with ''puppetmaster.example.com, puppetmaster'' on node puppetmaster.example.com Anyone knows why and how to make it work? Thanks -- 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<puppet-users%2Bunsubscribe@googlegroups.com> . For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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.