Commit 3835679
committed
Add better puppet-agent detection
Previously the default behaviour was to use ruby in the path however some puppet
agent installations do not put its ruby on the path and is instead located in
/opt/puppetlabs/puppet/bin/ruby. This commit adds file detection to prefer the
specific puppet agent location of ruby and fall back to just the path.1 parent 0fb3e6f commit 3835679
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| |||
0 commit comments