Commit a0f8a54
committed
fix: load ::common::monitor::prometheus::server and ::common::monitor::exporter from common::monitor::prometheus class, so node_exporter does not fail with wierd error
```
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Prometheus]:
expects a value for parameter env_file_path
parameter init_style expects a match for Prometheus::Initstyle = Enum[launchd, none, sles, systemd, sysv, upstart], got init (file: /etc/puppetlabs/code/environments/arm64_support/modules/enableit/common/manifests/monitor/exporter/node.pp, line: 167, column: 3) on node
```1 parent eda8ec8 commit a0f8a54
File tree
3 files changed
+4
-4
lines changed- modules/enableit/common/manifests
- monitor
- prometheus
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
0 commit comments