Project

General

Profile

Actions

Bug #15022

closed

"Running scan_directory" operation do not check environments manifests folder

Added by Andre Davis about 8 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Puppet
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #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)

Actions #2

Updated by Anonymous about 8 years ago

  • Status changed from New to Feedback
Actions #3

Updated by Anonymous about 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF