method

create_link

create_link(destination, *args)
public

Create a new file relative to the destination root from the given source.

Parameters

destination

the relative path to the destination root.

source<String|NilClass>

the relative path to the source root.

config

give :verbose => false to not log the status.

give :symbolic => false for hard link.

Examples

create_link "config/apache.conf", "/etc/apache.conf"