what does your puppetmaster's site.pp have in it? Also, I'm not super sure, 
but you might want to at least make the puppetmaster and client the same 
version. If you don't have the packages readily available you could install 
them easily via gem. 

On Thursday, December 27, 2012 10:55:38 AM UTC-8, ratotopi wrote:
>
> I have two box with centos 6.3 and centos 5.8 running  puppet master 3.0 
> and puppet client 2.7  respectively. I can make master work when I use 
> "puppet apply" on it and it works fine but I have not been able to do that 
> with client, I cannot make it work, when i run the following command in 
> client it shows the following output
>
> *puppet agent --test --server='puppet.xyz.com'*
> info: Caching catalog for puppetclient.xyz.com
> info: Applying configuration version '1356631880'
> notice: Finished catalog run in 0.06 seconds
> *
> *and on master when i give the following command it works*
>
> puppet apply -e "include squid"*
> /Stage[main]/Squid/Package[squid]/ensure: created
> Finished catalog run in 39.18 seconds
>
> Puppet master has the init.pp files in 
> /etc/puppet/modules/squid/manifests/init.pp which contains following 
> lines :-
>
> class squid {
> case $operatingsystem {
>         centos, redhat: {
>         $service_name = 'squid'
>         $conf_file    = 'squid.conf'
> }
> }
>
> package { 'squid':
>   ensure => 'installed',
> }
>
> service { 'squid':
>   ensure => 'stopped',
>   enable => 'false',
>   require => Package [ 'squid' ]
>  }
>  }
>
> What else do I need to do to make client work. I have searched internet 
> and they show different command and some of them not even work what should 
> I do to learn puppet and make it work. Thank you for your input.
>
>  
>
>

-- 
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/-/_uT7RCya4xIJ.
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.

Reply via email to