diff options
author | drebs <drebs@riseup.net> | 2011-03-16 21:56:21 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-16 21:56:21 -0300 |
commit | f429194a1a1208bd5fb5e6bf286877cd28e4df77 (patch) | |
tree | 81bc325c6a68c0eec1a326ce87b89712805cb368 | |
parent | 125fdaaca9163793a023c299a255a2f5e929d061 (diff) | |
download | puppet-bootstrap-f429194a1a1208bd5fb5e6bf286877cd28e4df77.tar.gz puppet-bootstrap-f429194a1a1208bd5fb5e6bf286877cd28e4df77.tar.bz2 |
correcting paths
-rw-r--r-- | manifests/admin_node.pp | 2 | ||||
-rw-r--r-- | templates/bin/puppet-bootstrap | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/admin_node.pp b/manifests/admin_node.pp index bc314e9..22b08fd 100644 --- a/manifests/admin_node.pp +++ b/manifests/admin_node.pp @@ -1,5 +1,5 @@ class admin_node { - nodo::vserver::instance { "$host-master": + nodo::vserver::instance { "$hostname-master": context => '2', puppetmaster => true, } diff --git a/templates/bin/puppet-bootstrap b/templates/bin/puppet-bootstrap index 70b5da8..57f5f28 100644 --- a/templates/bin/puppet-bootstrap +++ b/templates/bin/puppet-bootstrap @@ -13,7 +13,7 @@ function add_submodules { repos="`lynx -dump http://git.sarava.org/?a=project_index | awk '{ print $1 }' | grep ^puppet-`" for repo in $repos; do - module="`basename $repo .git | cut -d - -f 2`" + module="`basename $repo .git | sed -e s/puppet-//`" if [ ! -d "modules/$module" ]; then git submodule add git://git.sarava.org/puppet-$module.git modules/$module fi |