Hey guys.

I am starting out with puppet and am in the process of writing a
bootstrap script for the clients and a capistrano recipe for the
server. I have the client bootstrap done which installs ruby, puppet,
sets a host name, and then points the client at the puppet server and
now I am in the process of setting up the puppet server.

My first attempt was to set up a git project for puppet, an admin user
on the server and then use capistrano to deploy my puppet config and
all manifests into a directory in the admin users home. Basically this
would be the contents of the /etc/puppet directory. The idea was that
I would deploy to /home/admin_user/infrastructure and then symlink
that directory or /etc/puppet.  This didn't work because puppet blows
away the symlink and sets up a blank directory in /etc/puppet.

So I am wondering what to do next. Some options...

1. I could use rsync after deploy to copy the contents to /etc/puppet
but I noticed that the manifests directory are owned by the user
puppet so I don't know how well that would work.
2. I could manually set up a /etc/puppet/puppet.conf which points to
the manifests in the /home/admin directory and manage the puppet conf
with puppet.
3. I could use something other than capistrano. I am familiar with
capistrano so I would prefer to stay with it but I am willing to learn
something else if it would be better.

I also have a question as to whether the ssl directory should be
managed by puppet itself or me. I kind of presumed everything in
/etc/puppet would be managed by me and everything in /var/lib/puppet
would be managed by puppet is that right?

So does anybody have a nice capistrano config.rb for puppet?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to