Hi Guys,
Changing the server directive in the puppet conf worked!!! Thanks so
much for your help!!
Also I sent an email yesterday regarding file sharing to the list.
Sorry to be a bother, but I am still struggling with this issue.
Does anyone have any advice regarding this?
Here is the email I sent for easy reference:
-----------------------------
Hi Atha,
This is what the basefiles class that I have created looks like now:
class basefiles {
file { "/etc/ldap.conf":
source => "puppet:///snjh/ldap.conf"
}
file { "/etc/haha.txt":
source => "puppet:///snjh/haha.txt"
}
}
I have allowed everything (for the time being) in filersver.conf :
# Define a section 'files'
# Adapt the allow/deny settings to your needs. Order
# for allow/deny does not matter, allow always takes precedence
# over deny
[snjh]
path /etc/puppet/manifests/files/snjh
allow *
# deny *.evil.example.com
# allow 192.168.0.0/24
And this is the error I am currently getting:
[root@VIRTCENT03:~] #puppetd --test
info: Caching catalog for virtcent03.summitnjhome.com
info: Applying configuration version '1297290431'
err: //basefiles/File[/etc/haha.txt]: Failed to retrieve current state
of resource: Could not retrieve information from source(s)
puppet://puppet/snjh/haha.txt at
/etc/puppet/manifests/classes/basefiles.pp:10
err: //basefiles/File[/etc/ldap.conf]: Failed to retrieve current
state of resource: Could not retrieve information from source(s)
puppet://puppet/snjh/ldap.conf at
/etc/puppet/manifests/classes/basefiles.pp:6
notice: Finished catalog run in 1.03 seconds
thanks for your help!
-------------------
thanks again!! I really have gotten amazingly valuable help from this
list and I genuinely appreciate your time!
Tim
On Wed, Feb 9, 2011 at 6:46 PM, Sergey Zhuga <[email protected]> wrote:
> Hi,
>
> I think your client can't resolve puppet server hostname. Try to change
> 'server' directive in config file or add 'puppet' to /etc/hosts or use
> '--server' option in command line.
>
> Regards.
>
> On 10.02.2011 01:26, Tim Dunphy wrote:
>>
>> hello list
>>
>> I am attempting to setup a puppet server in the amazon cloud. When I
>> try to hit the host from the test client using puppetd --test I get
>> this response...
>>
>>
>>
>>
>> [root@mclient ~]# puppetd --test
>> err: Could not retrieve catalog from remote server: getaddrinfo: Name
>> or service not known
>> warning: Not using cache on failed catalog
>> err: Could not retrieve catalog; skipping run
>>
>>
>> So I thought what if I try to do a test puppet run on the server
>> itself? Surprisingly I get the same result...
>>
>> [root@mcollective ~]# puppetd --test
>> err: Could not retrieve catalog from remote server: getaddrinfo: Name
>> or service not known
>> warning: Not using cache on failed catalog
>> err: Could not retrieve catalog; skipping run
>>
>>
>> I make sure that puppet is installed:
>>
>> [root@mcollective ~]# rpm -qa | grep puppet
>> puppet-server-0.25.5-1.el5
>> puppet-0.25.5-1.el5
>>
>>
>>
>> That the service is running:
>>
>> [root@mcollective ~]# service puppetmaster status
>> puppetmasterd (pid 2025) is running...
>>
>>
>>
>> And listening on the correct port:
>>
>> [root@mcollective ~]# lsof -i :8140
>> COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
>> puppetmas 2025 puppet 7u IPv4 15187 TCP *:8140 (LISTEN)
>>
>>
>>
>> So why would this puppet server be unable to contact itself??
>>
>> thanks in advance!!
>>
>>
>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" 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-users?hl=en.
>
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.