Verify whether the directory has files or not

16 views
Skip to first unread message

Satish Katuru

unread,
Aug 12, 2014, 6:36:57 AM8/12/14
to puppet...@googlegroups.com
Hi,

I want to copy files into agent machine if the directory in Master server has files?
How to Check whether the directory has files or not?(need to add a condition)


Sathish.

Vikas Kumar

unread,
Aug 12, 2014, 7:19:29 PM8/12/14
to puppet...@googlegroups.com
Hi Satish,

It depends on which resource are you trying to use.

Please elaborate your question.

Regards,
Vikas
Reply all
Reply to author
Forward
0 new messages