Infrastructure automation by example
practicingruby.com
practicingruby.com
[1] https://docs.vagrantup.com/v2/provisioning/index.html
[2] https://sysadmincasts.com/episodes/4-vagrant
[3] https://sysadmincasts.com/episodes/8-learning-puppet-with-va...
Chef really needs some dependency injection type stuff like what juju has going on. So something can provide a 'load balancer' and your app can optionally use a 'load balancer' but your app doesn't need to hardcode that it's using nginx, or ha proxy, or elb, or whatever in it's cookbook.
A popular blog post on the topic is http://devopsanywhere.blogspot.com/2012/11/how-to-write-reus...
There is also the fact that none of these tools actually address cloud provisioning. They all work really well once you have your entire topology mapped out but do nothing to actually help with building that topology. That's why I'm hoping Terra takes over because it addresses this aspect of configuration management and I rather use something from Hashicorp than some other vendor.
salt.modules.boto_asg
salt.modules.boto_cloudwatch
salt.modules.boto_elasticache
salt.modules.boto_elb
salt.modules.boto_iam
salt.modules.boto_route53
salt.modules.boto_secgroup
salt.modules.boto_sqsIt looks like their bash snippet for generating a certificate can be replaced with the `openssl_x509` resource from this openssl cookbook [0].
I'm surprised running `gem update --system` is working without specifying the path [1].
The openssl_x509 resource looks interesting. I'm going to take a look at it. Thanks for the link!
The bash resource works because it uses the system path by default. We actually no longer use that code, but rather install Ruby PPA packages now:
https://github.com/elm-city-craftworks/practicing-ruby-cookb...
-Mathias
Thanks for the feedback, I've emailed Mathias to let him know about your suggestions.
Bug reports, suggestions for improvements, and pull requests related to the cookbook can also be filed directly here: https://github.com/elm-city-craftworks/practicing-ruby-cookb...
Since we've been seeing a lot of traffic from this article, I'd be happy to also answer questions here that HN folks might have about how Practicing Ruby works!
Since the project was great in so many ways, I also shared some additional content on my personal blog today:
http://mlafeldt.github.io/blog/infrastructure-automation-by-...