File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ RUN apk update && \
9
9
echo "install: --no-rdoc --no-ri" > /etc/gemrc && \
10
10
gem install json_pure daemons && \
11
11
gem install facter -v ${FACTER_VERSION} && \
12
+ mkdir -p /etc/facter/facts.d && \
12
13
find /usr/lib/ruby/gems/2.2.0/gems/facter-${FACTER_VERSION} -type f -exec sed -i 's:/proc/:/host-proc/:g' {} + && \
13
14
find /usr/lib/ruby/gems/2.2.0/gems/facter-${FACTER_VERSION} -type f -exec sed -i 's:/dev/:/host-dev/:g' {} + && \
14
15
find /usr/lib/ruby/gems/2.2.0/gems/facter-${FACTER_VERSION} -type f -exec sed -i 's:/host-dev/null:/dev/null:g' {} + && \
15
16
find /usr/lib/ruby/gems/2.2.0/gems/facter-${FACTER_VERSION} -type f -exec sed -i 's:/sys/:/host-sys/:g' {} +
16
17
ADD hnl_mk*.rb /usr/local/bin/
17
18
ADD hanlon_microkernel/*.rb /usr/local/lib/ruby/hanlon_microkernel/
19
+ ADD hanlon_microkernel/facter/*.rb /usr/local/lib/site_ruby/facter/
20
+
You can’t perform that action at this time.
0 commit comments