Information Technology Reference
In-Depth Information
to '/tmp/delicious'
end
end
mount
Mount or unmount a file system:
# Mount /dev/sda8
mount '/dev/sda8'
package
Install a package using the operating system's underlying package manager:
# Install the apache2 package (on Debian-based systems)
package 'apache2'
remote_file
Transfer a file from a remote location (such as a website):
# Download a remote file to /tmp/bacon
remote_file '/tmp/bacon' ddo
source 'http://bacon.org/bits.tar.gz'
end
end
service
Start, stop, or restart a service:
# Restart the apache2 service
service 'apache2' ddo
action :restart
end
end
template
Manage plain-text file contents parsed as an Embedded Ruby template:
Search WWH ::




Custom Search