2
Làm thế nào tôi có thể sử dụng đầu ra của một lệnh trong cfengine3
Tôi muốn liệt kê một nội dung thư mục và sử dụng kết quả ở một nơi khác: bundle agent test { commands: "ls /tmp/test/"; reports: ubuntu:: "print output here for example"; # or add it to a variable which is how I really want to use it. }