Skip to content

Commit 3299a9e

Browse files
puppet: fix splunk-otel-js installation (#4765)
1 parent ed3e647 commit 3299a9e

21 files changed

+181
-67
lines changed

deployments/puppet/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## puppet-v0.15.0
6+
7+
- Fix installation of `splunk-otel-js` for Node.js auto instrumentation.
8+
59
## puppet-v0.14.0
610

711
- For Splunk Otel Collector version `0.97.0` or greater, `GOMEMLIMIT` env var is introduced. The default is set to 90% of the `SPLUNK_TOTAL_MEM_MIB`. For more information regarding the usage, please follow the instructions ([here](https://github.com/signalfx/splunk-otel-collector?tab=readme-ov-file#from-0961-to-0970)).

deployments/puppet/README.md

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

deployments/puppet/manifests/init.pp

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@
373373
$zeroconfig_java_config_path = '/etc/splunk/zeroconfig/java.conf'
374374
$zeroconfig_node_config_path = '/etc/splunk/zeroconfig/node.conf'
375375
$zeroconfig_systemd_config_path = '/usr/lib/systemd/system.conf.d/00-splunk-otel-auto-instrumentation.conf'
376+
$with_new_instrumentation = $auto_instrumentation_version == 'latest' or versioncmp($auto_instrumentation_version, '0.87.0') >= 0
376377

377378
if $::osfamily == 'debian' {
378379
package { $auto_instrumentation_package_name:
@@ -388,13 +389,33 @@
388389
fail("Splunk OpenTelemetry Auto Instrumentation is not supported for your OS family (${::osfamily})")
389390
}
390391

392+
if 'nodejs' in $with_auto_instrumentation_sdks and $with_new_instrumentation {
393+
$splunk_otel_js_path = '/usr/lib/splunk-instrumentation/splunk-otel-js.tgz'
394+
$splunk_otel_js_prefix = '/usr/lib/splunk-instrumentation/splunk-otel-js'
395+
396+
file { [$splunk_otel_js_prefix, "${$splunk_otel_js_prefix}/node_modules"]:
397+
ensure => 'directory',
398+
require => Package[$auto_instrumentation_package_name],
399+
}
400+
-> exec { 'Install splunk-otel-js':
401+
command => "${$auto_instrumentation_npm_path} install ${$splunk_otel_js_path}",
402+
provider => shell,
403+
cwd => $splunk_otel_js_prefix,
404+
require => Package[$auto_instrumentation_package_name],
405+
}
406+
}
407+
391408
file { $ld_so_preload_path:
392409
ensure => file,
393410
content => template('splunk_otel_collector/ld.so.preload.erb'),
394411
require => Package[$auto_instrumentation_package_name],
395412
}
396413

397414
if $auto_instrumentation_systemd {
415+
file { [$zeroconfig_java_config_path, $zeroconfig_node_config_path]:
416+
ensure => absent,
417+
require => Package[$auto_instrumentation_package_name],
418+
}
398419
file { ['/usr/lib/systemd', '/usr/lib/systemd/system.conf.d']:
399420
ensure => directory,
400421
}
@@ -408,7 +429,7 @@
408429
file { $zeroconfig_systemd_config_path:
409430
ensure => absent,
410431
}
411-
if $auto_instrumentation_version == 'latest' or versioncmp($auto_instrumentation_version, '0.87.0') >= 0 {
432+
if $with_new_instrumentation {
412433
if 'java' in $with_auto_instrumentation_sdks {
413434
file { $zeroconfig_java_config_path:
414435
ensure => file,
@@ -417,21 +438,10 @@
417438
}
418439
}
419440
if 'nodejs' in $with_auto_instrumentation_sdks {
420-
$splunk_otel_js_path = '/usr/lib/splunk-instrumentation/splunk-otel-js.tgz'
421-
$splunk_otel_js_prefix = '/usr/lib/splunk-instrumentation/splunk-otel-js'
422-
423-
file { "${$splunk_otel_js_prefix}/node_modules":
424-
ensure => 'directory',
425-
}
426-
exec { 'Install splunk-otel-js':
427-
command => "${$auto_instrumentation_npm_path} install ${$splunk_otel_js_path}",
428-
provider => shell,
429-
cwd => $splunk_otel_js_prefix,
430-
}
431441
file { $zeroconfig_node_config_path:
432442
ensure => file,
433443
content => template('splunk_otel_collector/node.conf.erb'),
434-
require => Package[$auto_instrumentation_package_name],
444+
require => Exec['Install splunk-otel-js'],
435445
}
436446
}
437447
} else {

deployments/puppet/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "signalfx-splunk_otel_collector",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"author": "Splunk, Inc.",
55
"summary": "This module installs the Splunk OpenTelemetry Collector via distro packages and configures it.",
66
"license": "Apache-2.0",

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.debian-bullseye

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-bullseye.deb
99
apt-get update && \
1010
apt-get install -y puppet-agent
1111

12-
ENV PATH=/opt/puppetlabs/bin:$PATH
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1318

1419
ENV container docker
1520

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.debian-buster

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-buster.deb &
99
apt-get update && \
1010
apt-get install -y puppet-agent
1111

12-
ENV PATH=/opt/puppetlabs/bin:$PATH
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1318

1419
ENV container docker
1520

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.debian-stretch

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-stretch.deb
1212
apt-get update && \
1313
apt-get install -y puppet-agent
1414

15-
ENV PATH=/opt/puppetlabs/bin:$PATH
15+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
16+
mkdir -p /opt/ && \
17+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
18+
mv /opt/node* /opt/node
19+
20+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1621

1722
ENV container docker
1823

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.ubuntu-bionic

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-bionic.deb &
99
apt-get update && \
1010
apt-get install -y puppet-agent
1111

12-
ENV PATH=/opt/puppetlabs/bin:$PATH
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1318

1419
ENV container docker
1520

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.ubuntu-focal

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-focal.deb &&
99
apt-get update && \
1010
apt-get install -y puppet-agent
1111

12-
ENV PATH=/opt/puppetlabs/bin:$PATH
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1318

1419
ENV container docker
1520

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.ubuntu-jammy

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
FROM ubuntu:22.04
22

3-
# puppetlabs does not currently provide packages for jammy,
4-
# so install the puppet package provided by ubuntu instead.
5-
63
RUN apt-get update &&\
7-
apt-get install -yq ca-certificates procps systemd wget apt-transport-https libcap2-bin curl gnupg lsb-release puppet
4+
apt-get install -yq ca-certificates procps systemd wget apt-transport-https libcap2-bin curl gnupg lsb-release
5+
6+
ARG PUPPET_RELEASE="6"
7+
RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-jammy.deb && \
8+
dpkg -i puppet${PUPPET_RELEASE}-release-jammy.deb && \
9+
apt-get update && \
10+
apt-get install -y puppet-agent
811

9-
#ARG PUPPET_RELEASE="6"
10-
#RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-jammy.deb && \
11-
# dpkg -i puppet${PUPPET_RELEASE}-release-jammy.deb && \
12-
# apt-get update && \
13-
# apt-get install -y puppet-agent
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
1416

15-
#ENV PATH=/opt/puppetlabs/bin:$PATH
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1618

1719
ENV container docker
1820

@@ -29,7 +31,7 @@ ENV init /lib/systemd/systemd
2931
RUN puppet module install puppetlabs-stdlib --version 4.24.0
3032
RUN puppet module install puppetlabs-apt --version 7.0.0
3133

32-
COPY deployments/puppet /etc/puppet/code/environments/production/modules/splunk_otel_collector
34+
COPY deployments/puppet /etc/puppetlabs/code/environments/production/modules/splunk_otel_collector
3335

3436
VOLUME [ "/sys/fs/cgroup" ]
3537

internal/buildscripts/packaging/tests/deployments/puppet/images/deb/Dockerfile.ubuntu-xenial

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ RUN wget https://apt.puppetlabs.com/puppet${PUPPET_RELEASE}-release-xenial.deb &
99
apt-get update && \
1010
apt-get install -y puppet-agent
1111

12-
ENV PATH=/opt/puppetlabs/bin:$PATH
12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
17+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
1318

1419
ENV container docker
1520

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.amazonlinux-2

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ FROM amazonlinux:2
22

33
ENV container docker
44

5-
RUN yum install -y systemd procps initscripts
5+
RUN yum install -y systemd procps initscripts wget
66

77
ARG PUPPET_RELEASE="6"
88
RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-el-7.noarch.rpm && \
99
yum install -y puppet-agent
1010

11+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
12+
mkdir -p /opt/ && \
13+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
14+
mv /opt/node* /opt/node
15+
1116
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1217
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1318
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -19,7 +24,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1924

2025
VOLUME [ "/sys/fs/cgroup" ]
2126

22-
ENV PATH=/opt/puppetlabs/bin:$PATH
27+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2328

2429
RUN puppet module install puppetlabs-stdlib --version 4.24.0
2530
RUN puppet module install puppet-yum --version 4.3.0

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.amazonlinux-2023

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ FROM amazonlinux:2023
22

33
ENV container docker
44

5-
RUN yum install -y systemd procps initscripts
5+
RUN yum install -y systemd procps initscripts wget
66

77
ARG PUPPET_RELEASE="6"
88
RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-el-9.noarch.rpm && \
99
yum install -y puppet-agent
1010

11+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
12+
mkdir -p /opt/ && \
13+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
14+
mv /opt/node* /opt/node
15+
1116
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1217
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1318
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -19,7 +24,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1924

2025
VOLUME [ "/sys/fs/cgroup" ]
2126

22-
ENV PATH=/opt/puppetlabs/bin:$PATH
27+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2328

2429
RUN puppet module install puppetlabs-stdlib --version 4.24.0
2530
RUN puppet module install puppet-yum --version 4.3.0

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.centos-7

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ FROM centos:7
22

33
ENV container docker
44

5-
RUN yum install -y systemd procps initscripts deltarpm
5+
RUN yum install -y systemd procps initscripts deltarpm wget
66

77
ARG PUPPET_RELEASE="6"
88
RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-el-7.noarch.rpm && \
99
yum install -y puppet-agent
1010

11+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
12+
mkdir -p /opt/ && \
13+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
14+
mv /opt/node* /opt/node
15+
1116
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1217
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1318
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -19,7 +24,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1924

2025
VOLUME [ "/sys/fs/cgroup" ]
2126

22-
ENV PATH=/opt/puppetlabs/bin:$PATH
27+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2328

2429
RUN puppet module install puppetlabs-stdlib --version 4.24.0
2530
RUN puppet module install puppet-yum --version 4.3.0

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.centos-8

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ FROM quay.io/centos/centos:stream8
33
ENV container docker
44

55
RUN echo 'fastestmirror=1' >> /etc/yum.conf
6-
RUN dnf install -y systemd procps initscripts
6+
RUN dnf install -y systemd procps initscripts wget
77

88
ARG PUPPET_RELEASE="6"
99
RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-el-8.noarch.rpm && \
1010
dnf install -y puppet-agent
1111

12+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
13+
mkdir -p /opt/ && \
14+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
15+
mv /opt/node* /opt/node
16+
1217
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1318
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1419
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -20,7 +25,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
2025

2126
VOLUME [ "/sys/fs/cgroup" ]
2227

23-
ENV PATH=/opt/puppetlabs/bin:$PATH
28+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2429

2530
RUN puppet module install puppetlabs-stdlib --version 4.24.0
2631
RUN puppet module install puppet-yum --version 4.3.0

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.centos-9

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ ENV container docker
44

55
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
66
RUN echo 'fastestmirror=1' >> /etc/yum.conf
7-
RUN dnf install -y systemd procps initscripts
7+
RUN dnf install -y systemd procps initscripts wget
88

99
ARG PUPPET_RELEASE="6"
1010
RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-el-9.noarch.rpm && \
1111
dnf install -y puppet-agent
1212

13+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
14+
mkdir -p /opt/ && \
15+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
16+
mv /opt/node* /opt/node
17+
1318
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1419
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1520
rm -f /lib/systemd/system/multi-user.target.wants/*;\
@@ -21,7 +26,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
2126

2227
VOLUME [ "/sys/fs/cgroup" ]
2328

24-
ENV PATH=/opt/puppetlabs/bin:$PATH
29+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2530

2631
RUN puppet module install puppetlabs-stdlib --version 4.24.0
2732
RUN puppet module install puppet-yum --version 4.3.0

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.opensuse-12

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-sles-12.noar
1515
zypper --gpg-auto-import-keys -n refresh && \
1616
zypper install -y puppet-agent
1717

18+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
19+
mkdir -p /opt/ && \
20+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
21+
mv /opt/node* /opt/node
22+
1823
RUN (cd /usr/lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1924
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
2025
rm -f /usr/lib/systemd/system/multi-user.target.wants/*;\
@@ -26,7 +31,7 @@ RUN (cd /usr/lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
2631

2732
VOLUME [ "/sys/fs/cgroup" ]
2833

29-
ENV PATH=/opt/puppetlabs/bin:$PATH
34+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
3035

3136
RUN puppet module install puppetlabs-stdlib --version 4.24.0
3237

internal/buildscripts/packaging/tests/deployments/puppet/images/rpm/Dockerfile.opensuse-15

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ RUN rpm -Uvh https://yum.puppet.com/puppet${PUPPET_RELEASE}-release-sles-15.noar
1414
zypper --gpg-auto-import-keys -n refresh && \
1515
zypper install -y puppet-agent
1616

17+
RUN wget -O /tmp/nodejs.tar.gz https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.gz && \
18+
mkdir -p /opt/ && \
19+
tar -C /opt/ -xzf /tmp/nodejs.tar.gz && \
20+
mv /opt/node* /opt/node
21+
1722
RUN (cd /usr/lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
1823
"systemd-tmpfiles-setup.service" ] || rm -f $i; done); \
1924
rm -f /usr/lib/systemd/system/multi-user.target.wants/*;\
@@ -24,7 +29,7 @@ RUN (cd /usr/lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i = \
2429

2530
VOLUME [ "/sys/fs/cgroup" ]
2631

27-
ENV PATH=/opt/puppetlabs/bin:$PATH
32+
ENV PATH=/opt/puppetlabs/bin:/opt/node/bin:$PATH
2833

2934
RUN puppet module install puppetlabs-stdlib --version 4.24.0
3035

0 commit comments

Comments
 (0)