On Wed, 2014-01-29 at 05:05 -0800, Kevin Breit wrote:
> I am trying to make Puppet provision an OpenStack node from a base
> Ubuntu 12.04 install. Unfortunately, I'm new to Puppet and having
> problems conceptualizing how the programming logic should work. At
> this time I have a Puppet master and Puppet agent for script
> development. Here are the steps I expect to have Puppet take:
> 
> 1. Install and configure NTP
> 2. Update apt repositories with proper OpenStack Havana PPA
> 3. Install proper OpenStack packages (probably just openstack-compute
> and mysql-client, maybe a few others)
> 4. Develop configuration files based on templates
> 
> Step 1 is done as I developed a simple NTP module. Step 2 is where I'm
> getting caught up. Last night I discovered the puppet-apt module but
> I'm not quite sure how to call it. I feel like I'm thinking in
> traditional programming language flow where I can call most anything
> at any time. In my site.pp there is a node section where I do an
> "include apt" but beyond that, I don't know how to pass arguments and
> call functions to the apt module. Do I create a custom manifest for
> this or include code in the node statement?

Just a pointer here to a bunch of really good OpenStack Puppet modules: 

https://github.com/stackforge/puppet-openstack

https://github.com/hastexo/kickstack

There's some gaps, such as HA for controller components, monitoring, etc
- but the structure and ease of use is excellent.

Particularly, for your use case, take a look at Florian's Kickstack
module - I did see a 10 min video where he goes through the use of it,
but I can't find the link to hand now...  What I like about the
Kickstack module is the way roles and profiles have been arranged to
make application of intended config fast and easy.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1391035606.19881.5.camel%40debian.my.home.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to