1 changed files with 26 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||
### REGISTER WITH GIT |
|||
# |
|||
## -- updated with new API token - and needs "-k" flag for the moment |
|||
curl -X POST "https://config.tombstones.org.uk:23000/api/v1/user/keys" \ |
|||
-k \ |
|||
-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)-$(date +'%s')\"}" |
|||
|
|||
### PUPPET |
|||
# |
|||
echo "Pull down the puppet manifests" |
|||
cd /var/lib/puppet/manifests |
|||
|
|||
# -- apache |
|||
#git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-httpd.git |
|||
|
|||
# -- php |
|||
#git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-php.git |
|||
|
|||
# -- mariadb |
|||
#git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-mariadb.git |
|||
|
|||
# -- postfix |
|||
#git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-postfix.git |
Loading…
Reference in new issue