Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ruby内からFacter変数にアクセスすることは可能ですか?
if %{virtual} == 'virtualbox' result = 'changeit' else result = c[1]['passwd'] end
$::virtual実際の変数もそうです。
$::virtual