1 changed files with 0 additions and 21 deletions
@ -1,39 +1,18 @@ |
|||||
### REGISTER WITH GIT |
|
||||
# |
|
||||
## -- updated with new API token |
|
||||
## -- doesn't common/post.cfg ought to take care of this. |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
## -- not certain why these are needed, as puppet uses the "deploy" alias to pull things down. |
|
||||
#curl -X POST "https://config.tombstones.org.uk:23000/api/v1/user/keys" \ |
|
||||
#-H "accept: application/json" \ |
|
||||
#-H "Content-Type: application/json" \ |
|
||||
#-H "Authorization: token 2b2182bbbb7e52b3193c4c9718c6e96c372f8156" \ |
|
||||
#-d "{ \"key\": \"$(cat /root/.ssh/id_rsa.pub)\", \"read_only\": true, \"title\": \"$(hostname -s)-postcfg-$(date +'%s')\"}" |
|
||||
|
|
||||
### PUPPET - pull down additional manifests |
### PUPPET - pull down additional manifests |
||||
# |
# |
||||
#echo "Pull down the puppet manifests" |
#echo "Pull down the puppet manifests" |
||||
cd /var/lib/puppet/manifests |
cd /var/lib/puppet/manifests |
||||
|
|
||||
## -- fixed these lines to use the alias: |
## -- fixed these lines to use the alias: |
||||
## .. should be in the format of: |
|
||||
# -- php |
# -- php |
||||
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-php.git |
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-php.git |
||||
git clone deploy:/tombstones/puppet-php.git |
git clone deploy:/tombstones/puppet-php.git |
||||
|
|
||||
# -- apache |
# -- apache |
||||
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-httpd.git |
|
||||
#git clone ssh://deploy:/tombstones/puppet-httpd.git |
|
||||
git clone deploy:/tombstones/puppet-httpd.git |
git clone deploy:/tombstones/puppet-httpd.git |
||||
|
|
||||
# -- mariadb |
# -- mariadb |
||||
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-mariadb.git |
|
||||
#git clone deploy:/tombstones/puppet-mariadb.git |
#git clone deploy:/tombstones/puppet-mariadb.git |
||||
|
|
||||
# -- postfix |
# -- postfix |
||||
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-postfix.git |
|
||||
#git clone deploy:/tombstones/puppet-postfix.git |
#git clone deploy:/tombstones/puppet-postfix.git |
Loading…
Reference in new issue