Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 21st, 2018
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
if File.exist?("/etc/facts.txt")
File.readlines("/etc/facts.txt").each do |line|
if line =~ /^(.+)=(.+)$/
var = $1; val = $2
Facter.add(var) do
setcode { val }
end
end
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Social Icons In Banner 6.0.4
HTML | 6 min ago | 4.89 KB
π€ G2A.com Free Gift Card Guide Apr 2024 FIX π€
GetText | 14 min ago | 0.38 KB
Social Icons 6.0.4
HTML | 19 min ago | 1.00 KB
Banner W/Social Icons
HTML | 25 min ago | 17.83 KB
π₯ G2A.com Free Gift Card Guide Apr 2024 NEWπ₯
GetText | 33 min ago | 0.38 KB
π° G2A.com Free Gift Card Guide Apr 2024 NEW π°
GetText | 46 min ago | 0.38 KB
π€ G2A.com Free Gift Card Guide Apr 2024 FIX π€
GetText | 46 min ago | 0.39 KB
disable_all_visibility_options
Bash | 1 hour ago | 0.61 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!