Browse Source

Update 'albert/post.cfg'

darren-patch-1
dave 3 years ago
parent
commit
d7102f80f8
  1. 6
      albert/post.cfg

6
albert/post.cfg

@ -3,16 +3,16 @@
## -- updated with new API token - and needs "-k" flag for the moment
## -- doesn't common/post.cfg ought to take care of this.
echo "albert/post.cfg: Pushing key to GIT"
#echo "albert/post.cfg: Pushing key to GIT"
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)-$(date +'%s')\"}"
### PUPPET
### PUPPET - pull down additional manifests
#
echo "Pull down the puppet manifests"
#echo "Pull down the puppet manifests"
cd /var/lib/puppet/manifests
# -- apache

Loading…
Cancel
Save