Ask Your Question
0

how to check the command output executed by provider?

asked 2017-03-02 00:20:54 -0500

Hyder gravatar image
      def create
          yum('install', '-y', resource[:name])   # how to see its output
      end
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-03-02 04:16:54 -0500

Hyder gravatar image
 def create
     puts yum('install', '-y', resource[:name])   # Now you can see its output
 end
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-02 00:20:54 -0500

Seen: 35 times

Last updated: Mar 02