Permalink
Browse files

Readme improvements. Thanks dmac.

  • Loading branch information...
philc committed Apr 17, 2012
1 parent b2fc329 commit 2bfc77c1211261e0c4ce1ef2397839666e09be7d
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.markdown
View
@@ -11,7 +11,7 @@ Usage
This is the basic structure of a system provisioning script written using Terraform:
require "terraform_dsl"
- include Terraform::Dsl
+ include Terraform::DSL
dep "pygments" do
met? { in_path? "pygmentize" } # Check if your dependency is met.
@@ -27,15 +27,16 @@ The Terraform DSL provides these functions which are commonly used when provisio
<table>
<tr>
<td>shell(command)</td>
- <td>Executes a shell command.</td>
+ <td>Executes a shell command. Use this generally instead of backticks. It raises an exception if the exit
+ status of the command was nonzero, and prints the command string as well as the output.</td>
</tr>
<tr>
<td>in_path?(command)</td>
<td>True if the command is in the current path.</td>
</tr>
<tr>
<td>package_installed?(package_name)</td>
- <td>True if an apt-get package is installed.</td>
+ <td>True if a package is installed. Currently only apt-get is supported.</td>
</tr>
<tr>
<td>ensure_packages(*package_names)</td>

0 comments on commit 2bfc77c

Please sign in to comment.