On Tuesday, July 29, 2014 3:28:27 PM UTC-5, Juliano Resende wrote:
>
> Hi,
>
> I'm beginner in puppet and i have a problem in implementation using puppet 
> version 3.4.2, i setup the master and the agent, but the manifests does not 
> apply on agent.
>
>

[...]

 

> Debug: Using cached certificate_revocation_list for ca
> Info: Retrieving pluginfacts
>
 

> Debug: Failed to load library 'msgpack' for feature 'msgpack'
> Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
> Debug: file_metadata supports formats: pson yaml b64_zlib_yaml raw
> Debug: Finishing transaction 70123282612320
> Info: Retrieving plugin
> Debug: Failed to load library 'msgpack' for feature 'msgpack'
> Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
> Debug: file_metadata supports formats: pson yaml b64_zlib_yaml raw
> Debug: Finishing transaction 70123282471520
> Debug: Failed to load library 'msgpack' for feature 'msgpack'
> Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
> Debug: catalog supports formats: pson dot yaml b64_zlib_yaml raw
> Info: Caching catalog for parc-puppetclient-tna-mia.tpn.terra.com
> Debug: Creating default schedules
> Debug: Loaded state in 0.00 seconds
> Info: Applying configuration version '1406664522'
> Debug: Finishing transaction 70123282264000
> Debug: Storing state
> Debug: Stored state in 0.01 seconds
>
>

Looks like the agent is receiving an empty catalog.

 

>
> ConfiguraĆ§Ć£o do puppet.conf (master)
>
> [main]
>     certname = parc-puppet01-tna-mia.exemplo.com
>     dns_alt_names = parc-puppet01-tna-mia,
> parc-puppet01-tna-mia.exemplo.com
>     logdir = /var/log/puppet
>
>     rundir = /var/run/puppet
>
>     ssldir = $vardir/ssl
>     environmentpath = $confdir/environments
>
>

The environmentpath variable is associated with the "directory 
environments" feature.  This was new in Puppet 3.5, but you say you are 
running Puppet 3.4.2.  Latest is 3.6.2.

 

> [agent]
>     classfile = $vardir/classes.txt
>
>     localconfig = $vardir/localconfig
> [master]
>     autosign = true
>
>
>

IF you were using a version of the Puppet master that supports directory 
environments, then with the puppet config you present, the site.pp file and 
any other starting-point manifests for the default ("production") 
environment would be expected to appear in $confdir/environments/production 
on the master.  On Puppet 3.4.2, with the config you present, the master 
will look for site.pp specifically, in $confdir/manifests/.

If you wish, your Puppet 3.4 clients should be able to run against a Puppet 
3.5 or 3.6 master.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b3147ca0-fc90-4b08-b771-d3605b479e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to