1 changed files with 11 additions and 18 deletions
@ -1,31 +1,24 @@ |
|||
### REGISTER WITH 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 c2463732c0469b2b02b154c13dbc9dd4a075882a" \ |
|||
-d "{ \"key\": \"$(cat /root/.ssh/id_rsa.pub)\", \"read_only\": true, \"title\": \"$(hostname -s)-$(date +'%s')\"}" |
|||
|
|||
### PUPPET |
|||
# |
|||
echo "Pull down the puppet manifests" |
|||
## echo "Pull down the puppet manifests" |
|||
cd /var/lib/puppet/manifests |
|||
|
|||
## -- the path aliases have been taken from albert's "post.cfg" |
|||
# -- docker |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-docker.git |
|||
git clone deploy:/tombstones/puppet-docker.git |
|||
|
|||
### DOCKER CONTAINERS |
|||
# |
|||
# -- content |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-content.git |
|||
git clone deploy:/tombstones/puppet-content.git |
|||
|
|||
# -- media |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-media-network.git |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-sabnzbd.git |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-sickgear.git |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-couchpotato.git |
|||
git clone deploy:/tombstones/puppet-media-network.git |
|||
git clone deploy:/tombstones/puppet-sabnzbd.git |
|||
git clone deploy:/tombstones/puppet-sickgear.git |
|||
git clone deploy:/tombstones/puppet-couchpotato.git |
|||
|
|||
# -- ftpd |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-pureftpd.git |
|||
git clone deploy:/tombstones/puppet-pureftpd.git |
|||
|
|||
# -- gaming@Tomstones |
|||
git clone ssh://git@config.tombstones.org.uk:22122/tombstones/puppet-gtombstones.git |
|||
git clone deploy:/tombstones/puppet-gtombstones.git |
|||
|
Loading…
Reference in new issue