diff options
-rw-r--r-- | manifests/puppet_bootstrap.pp | 2 | ||||
-rw-r--r-- | templates/bin/puppet-bootstrap | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/manifests/puppet_bootstrap.pp b/manifests/puppet_bootstrap.pp index 624d34d..d0517f7 100644 --- a/manifests/puppet_bootstrap.pp +++ b/manifests/puppet_bootstrap.pp @@ -11,6 +11,8 @@ class puppet_bootstrap { content => template("$templates_dir/bin/puppet-bootstrap"), } + package { "lynx": ensure => installed } + define puppet_modules($puppet_dir) { # directory to download modules diff --git a/templates/bin/puppet-bootstrap b/templates/bin/puppet-bootstrap index 9c385f3..3ab9c14 100644 --- a/templates/bin/puppet-bootstrap +++ b/templates/bin/puppet-bootstrap @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash function usage { echo "Usage: $1 add-submodules <DIR>" @@ -26,7 +26,7 @@ if [ $# -ne 2 ]; then fi case $1 in - add-submodules) add_submodules ;; + add-submodules) add_submodules $2;; help) usage $0 0 ;; *) usage $0 1; exit 1 ;; esac |