I want to check all file having .war
extension and move them to another folder in chef-client windows but it does not work.
if !Dir.glob("C:\\tempwar\\*.war").empty?
execute 'mv-war' do
command 'move C:\tempwar\*.war C:\tomcat\webapps\ '
end
end