- From: <
>
- To:
- Subject: [chef-dev] STDIN
- Date: Fri, 23 Sep 2011 05:23:38 -0700 (PDT)
Hello All. Can anybody clarify that is CHEF able to work with STDIN.
Recipe should take inputs that will allow to set various variables .
I tried to do it with ruby_block but it says “error: No such file or
directory - -c”
Here is ruby block :
ruby_block "puts_some_text" do
block do
print("Enter your variable: ")
STDOUT.flush
a_string = gets
puts a_string
end
action :create
end
- [chef-dev] STDIN, hiltov, 09/23/2011
Archive powered by MHonArc 2.6.16.