Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to check file has link in puppet

Hi,

I have below code

$abc=/etc/testlocal/init.d
$def=/etc/test.d/init.d

I want to remove "/etc/testlocal/init.d", so before I delete this folder wanna check for file link existence first

/etc/test.d/init.d/file -> /etc/testlocal/init.d/file.

I surfed net to convert into puppet, but didn't find any.

want to know is it possible in puppet.