При (вроде) верной настройке сервера и клиента, свой манифест хост клиента не видит. Получает каталог но он пустой, всегда не ставит пакеты mc, ntp, screen.
puppetmaster
# puppet --version
3.8.4
# uname -a
Linux puppet 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux
# cat /etc/puppet/environments/souz/manifest/souz.pp
node 'souz' {
$base_packages = [ 'mc', 'ntp', 'screen']
package { $base_packages:
ensure => present,
}
}
puppet
# puppet --version
3.8.7
# uname -a
Linux souz 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/puppet/puppet.conf
[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
pluginsync = true
[agent]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is '$confdir/localconfig'.
localconfig = $vardir/localconfig
server=puppet.local
report=true
environment=souz
Запускает puppet agent
# puppet agent --verbose --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for souz
Info: Applying configuration version '1499021530'
Notice: Finished catalog run in 0.14 seconds
Jul 2 21:52:10 puppet puppet-master[30373]: Compiled catalog for souz in environment souz in 0.05 seconds
Jul 2 21:52:10 puppet puppet-master[30373]: (//souz/Puppet) Finished catalog run in 0.14 seconds
[2017-07-02 21:52:05] 77.183.123.133 - - [02/Jul/2017:21:52:05 MSK] "GET /souz/node/souz?fail_on_404=true&transaction_uuid=33c7019b-2b88-4881-bce8-afda1179be7c HTTP/1.1" 200 4029
[2017-07-02 21:52:05] - -> /souz/node/souz?fail_on_404=true&transaction_uuid=33c7019b-2b88-4881-bce8-afda1179be7c
[2017-07-02 21:52:05] 77.183.123.133 - - [02/Jul/2017:21:52:05 MSK] "GET /souz/file_metadatas/pluginfacts?recurse=true&checksum_type=md5&links=manage&ignore=.svn&ignore=CVS&ignore=.git HTTP/1.1" 200 298
[2017-07-02 21:52:05] - -> /souz/file_metadatas/pluginfacts?recurse=true&checksum_type=md5&links=manage&ignore=.svn&ignore=CVS&ignore=.git
[2017-07-02 21:52:06] 77.183.123.133 - - [02/Jul/2017:21:52:06 MSK] "GET /souz/file_metadatas/plugins?recurse=true&checksum_type=md5&links=manage&ignore=.svn&ignore=CVS&ignore=.git HTTP/1.1" 200 32765
[2017-07-02 21:52:06] - -> /souz/file_metadatas/plugins?recurse=true&checksum_type=md5&links=manage&ignore=.svn&ignore=CVS&ignore=.git
[2017-07-02 21:52:10] 77.183.123.133 - - [02/Jul/2017:21:52:10 MSK] "POST /souz/catalog/souz HTTP/1.1" 200 566
[2017-07-02 21:52:10] - -> /souz/catalog/souzr
[2017-07-02 21:52:10] 77.183.123.133 - - [02/Jul/2017:21:52:10 MSK] "PUT /souz/report/souz HTTP/1.1" 200 22
[2017-07-02 21:52:10] - -> /souz/report/souz