|
|
@ -18,11 +18,11 @@ git clone deploy:/tombstones/puppet-httpd.git |
|
|
|
|
|
|
|
|
|
|
|
## -- 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" \ |
|
|
|
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)-2-$(date +'%s')\"}" |
|
|
|
-d "{ \"key\": \"$(cat /root/.ssh/id_rsa.pub)\", \"read_only\": true, \"title\": \"$(hostname -s)-postcfg-$(date +'%s')\"}" |
|
|
|
|
|
|
|
# -- php |
|
|
|
#git clone ssh://git@config.tombstones.org.uk:22022/tombstones/puppet-php.git |
|
|
|