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?

Any help is appreciated. Thank you.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c6a696f6-b0f9-4dff-9dc8-dea604f41780%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to