I recently started using Puppet directory environments. I really like the idea of Dynamic Puppet environments with Git branches and Git hooks to sync Puppet master after any changes were pushed to the Git server.
My question is: Can I use external service like Bitbucket as a Git master or do I need to have my own Git server? If I can use Bitbucket how I can add my puppet-sync post receive hook there? Can anybody point me to an article on how to do this?
No, the idea of repository hosting services (like GitHub or BitBucket) is to:
If you use an external hosting service, you would need to setup such a webhook and a listener in order to sync your service (here a Puppet master) after each push to your Git repo.
A bit like that webhook (to listen to push events) but calling puppet-sync
instead .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.