Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Readme improvements. Thanks dmac.

  • Loading branch information...
commit 2bfc77c1211261e0c4ce1ef2397839666e09be7d 1 parent b2fc329
Phil Crosby authored April 17, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  README.markdown
7  README.markdown
Source Rendered
@@ -11,7 +11,7 @@ Usage
11 11
 This is the basic structure of a system provisioning script written using Terraform:
12 12
 
13 13
     require "terraform_dsl"
14  
-    include Terraform::Dsl
  14
+    include Terraform::DSL
15 15
 
16 16
     dep "pygments" do
17 17
       met? { in_path? "pygmentize" }         # Check if your dependency is met.
@@ -27,7 +27,8 @@ The Terraform DSL provides these functions which are commonly used when provisio
27 27
 <table>
28 28
   <tr>
29 29
     <td>shell(command)</td>
30  
-    <td>Executes a shell command.</td>
  30
+    <td>Executes a shell command. Use this generally instead of backticks. It raises an exception if the exit
  31
+        status of the command was nonzero, and prints the command string as well as the output.</td>
31 32
   </tr>
32 33
   <tr>
33 34
     <td>in_path?(command)</td>
@@ -35,7 +36,7 @@ The Terraform DSL provides these functions which are commonly used when provisio
35 36
   </tr>
36 37
   <tr>
37 38
     <td>package_installed?(package_name)</td>
38  
-    <td>True if an apt-get package is installed.</td>
  39
+    <td>True if a package is installed. Currently only apt-get is supported.</td>
39 40
   </tr>
40 41
   <tr>
41 42
     <td>ensure_packages(*package_names)</td>

0 notes on commit 2bfc77c

Please sign in to comment.
Something went wrong with that request. Please try again.