FAQ
Hi,

I am new to puppet. I have configured puppet master and agent.

1. Executed this "*puppetca --sign ip-10-194-18-145.ec2.internal*" command
in puppet master instance. It returns an output like
* notice: Signed certificate request for ip-10-194-18-145.ec2.internal*
* notice: Removing file Puppet::SSL::CertificateRequest
ip-10-194-18-145.ec2.internal at
'/var/lib/puppet/ssl/ca/requests/ip-10-194-18-145.ec2.internal.pem'*
* *Is there any issue with this error ?
2. Created one site.pp file in *puppet master /etc/puppet/manifests* folder
with below content.
node 'client' {
file { "/root/files/test":
source => "puppet:///files/test"
}
}
3 Added below content in *puppet master /etc/puppet/fileserver.conf*
path /etc/puppet/files
allow *.puppet.com
allow *.internal
4 When I am trying to execute command "*puppet apply site.pp*" in manifests
folder, I am getting an error message like below.
*Could not find default node or by name with
'ip-10-195-207-236.ec2.internal, ip-10-195-207-236.ec2, ip-10-195-207-236'
on node ip-10-195-207-236.ec2.internal*

I am trying to resolve this issue such a long time.Can any one help me to
resolve this issue as early possible?,

Thanks in advance.

With Regards,
Krishna Bhaskar.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/wlox7r2apVAJ.
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.

Search Discussions

  • Jcbollinger at Nov 29, 2012 at 2:09 pm

    On Wednesday, November 28, 2012 11:22:31 PM UTC-6, krishna bhaskara rao wrote:

    Hi,

    I am new to puppet. I have configured puppet master and agent.

    1. Executed this "*puppetca --sign ip-10-194-18-145.ec2.internal*"
    command in puppet master instance. It returns an output like
    * notice: Signed certificate request for
    ip-10-194-18-145.ec2.internal*
    * notice: Removing file Puppet::SSL::CertificateRequest
    ip-10-194-18-145.ec2.internal at
    '/var/lib/puppet/ssl/ca/requests/ip-10-194-18-145.ec2.internal.pem'*
    * *Is there any issue with this error ?
    2. Created one site.pp file in *puppet master /etc/puppet/manifests*folder with below content.
    node 'client' {
    file { "/root/files/test":
    source => "puppet:///files/test"
    }
    }
    3 Added below content in *puppet master /etc/puppet/fileserver.conf*
    path /etc/puppet/files
    allow *.puppet.com
    allow *.internal
    4 When I am trying to execute command "*puppet apply site.pp*" in
    manifests folder, I am getting an error message like below.
    *Could not find default node or by name with
    'ip-10-195-207-236.ec2.internal, ip-10-195-207-236.ec2, ip-10-195-207-236'
    on node ip-10-195-207-236.ec2.internal*

    I am trying to resolve this issue such a long time.Can any one help me to
    resolve this issue as early possible?,
    If you are using a master / agent setup, as seems to be the case, then you
    should be using "puppet agent" on the client nodes, not "puppet apply". In
    principle, you could use "puppet apply" instead on the master, but it is
    better form to stick with one mode everywhere.

    The real problem, however, appears to be that puppet does not see any node
    declaration that it can match to the client node. The error message shows
    the node names puppet looked for, including the universal "default"
    fallback.


    John

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/9WfNO2hetMIJ.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedNov 29, '12 at 5:22a
activeNov 29, '12 at 2:09p
posts2
users2
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase