Bug #15022
closed"Running scan_directory" operation do not check environments manifests folder
Description
I'm using:
Ubuntu 14.04.4 and Foreman installed using default options and readme from Foreman website.
Steps:
1. Create additional folder for some environment and manifests folder inside.
2. Create some sample class inside site.pp, which can be validated by puppet parser. For example:
class some {
file { '/tmp/generated-file':
ensure => present,
mode => '0644',
content => "test: $(ipaddress_eth0)",
}
}
3. Enable Smart Proxy debug logs and run environment scan.
Result:
Filter logs using Search field, use for example "development/manifests" string - you will see that folder wasn't scanned. As result - environment wasn't imported.
My Smart Proxy version - 1.11.1
Updated by Dominic Cleal about 8 years ago
- Category set to Puppet
- Priority changed from High to Normal
#13667 with Puppet Server 2 (Puppet 4) will support this automatically.
It's recommended that you place all classes into a module layout, which is what the smart proxy currently supports. (https://docs.puppetlabs.com/puppet/3/reference/modules_fundamentals.html#module-layout etc)