Puppet master version: 3.3.1
Puppet agent version: 3.3.1
Content of site.pp
import '*/*.pp'
node default {
include 'auth'
}
In the folder where site.pp is located there is folder called 'VirtualMachines' In 'VirtualMachines' folder there is file called: server1mycompanycom.pp
permissions for file server1mycompanycom.pp
-rw-r--r-- 1 puppet sudo 81 Oct 15 14:33 server1_mycompany_com.pp
Content of file server1mycompanycom.pp
node 'server1.mycompany.com' inherits 'default' {
include 'zabbix::agent'
}
The problem is that when running
puppet agent --test
on server1.mycompany.com only module from default configuration is applied, which is called auth. Module from node configuration, which is called zabbix-agent is not applied.
Is anything wrong with site.pp? Other nodes works ok and apply configuration both from default section and from nodes section.