Hi,
I have three directory based environments: development, test, production. Each environment is structured as follows:
[root@puppet environments]# tree -L 2 production
production
├── environment.conf
├── manifests
│ └── site.pp
├── modules
│ ├── apt
│ ├── concat
│ ├── nginx
│ ├── ntp
│ └── stdlib
└── nodes
└── fqdn.yaml
I've tried setting modulepath configuration directive to ./modules:$basemodulepath and /etc/puppet/environments/production/modules, but Puppet config is not picking it up:
[root@puppet environments]# puppet config print modulepath --environment 'production'
/etc/puppet/modules:/usr/share/puppet/modules
Is there anything else I need to configure for this to work?
Thanks,
Alex