Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add installation helpers to TODO.

  • Loading branch information...
commit 2e8a9612139b9cbecf0950b9d44044c45642b182 1 parent 49df8c4
Craig Buchek authored March 07, 2013

Showing 1 changed file with 19 additions and 1 deletion. Show diff stats Hide diff stats

  1. 20  README.md
20  README.md
Source Rendered
@@ -33,7 +33,25 @@ Usage
33 33
 TODO
34 34
 ====
35 35
 
36  
-Tool to modify BIND zone files.
  36
+Installation Helpers
  37
+--------------------
  38
+    package_install $package_name [$version]
  39
+    package_remove $package_name
  40
+    package_is_installed $package_name [$version]
  41
+    package_manager_name
  42
+    package_manager_update
  43
+    command_exists $command
  44
+    command_accepts_arguments $command [$args...]
  45
+    generate_password
  46
+    add_line_to_file $file $line [$after_existing_line_by_content_or_line_number]
  47
+    file_contains_line $file $line_content
  48
+    warn_if_not_root
  49
+    fail_if_not_root
  50
+    run_as $user $command [$args...]
  51
+    service $service_name $restart_or_stop_or_status
  52
+
  53
+Tool to modify BIND zone files
  54
+------------------------------
37 55
   * Name it ''zone-update'' or ''named-updatezone''.
38 56
     * Using ''named-updatezone'' would make it analagous to ''named-checkzone''.
39 57
       * Pro: Pretty similar in functionality to ''named-checkzone''.

0 notes on commit 2e8a961

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