Using and Mastering Cookiecutter Transcripts
Chapter: Case studies: Major projects using Cookiecutter
Lecture: Case study: OpenStack
0:01 The next place I want to look at as a case study is OpenStack,
0:04 so here you can see there's a little picture graphic showing you
0:06 what OpenStack is about, it's got some kind of dashboard
0:09 you've got compute resources, think of those as virtual machines as well,
0:13 infrastructure as a service and platform as a service,
0:15 software-defined networks, storage and so on.
0:18 Like I said, this is basically AWS, you can install on your own data center
0:23 and configure as you like, it's pretty cool.
0:26 So let's see what they're doing with Cookiecutter.
0:28 So we can come over here and the first thing is there's an install guide
0:31 that you can create for various parts and they want to make sure
0:35 that this comes out the same, so here's a Cookiecutter template
0:38 for new install guides, here it just gives you a little info
0:40 about Cookiecutter and whatnot but basically
0:42 you go in here and it shows you how to create
0:45 all the various documentation and settings that you need
0:48 to tell people how to install your particular thing
0:52 that you're going to integrate into OpenStack; ok so that's cool.
0:55 Another one is Puppet, so Puppet is like a devops type thing
1:00 you can manage infrastructure and whatnot with Puppet,
1:04 here is a template that generates an OpenStack compliant Puppet script
1:08 so it's pretty involved you can see all the various pieces
1:11 like the test scripts and what not going here, you can see it it sets everything up
1:16 that you need to run Puppet just so, all right,
1:19 all the specifications, the details about the Puppet files and so on.
1:23 So this is really nice if you want to use Puppet with OpenStack, start here of course.
1:27 Finally, you can test OpenStack and the system that they use for testing is
1:33 this thing called Tempest, so here's a way to create tests that run on OpenStack
1:38 it shows you how to use it, how to get started and so on, pretty straightforward
1:42 you guys already know because you know Cookiecutter.
1:45 So, here's just three ways that they're using Cookiecutter
1:48 that are official listed on their GitHub repo.