Using Modules, environments and version control you can really scale up.

We currently manage a lot of environments with puppet, with a lot of
different sys-admins, each group responsible to a different set of modules.

since many times, a given node has uses many different modules (which are
managed by different people) we decided to tag our "stable" modules (e.g.
associate it with a version) and generate an environment out of tested
combination of the stable modules.

Cheers,
Ohad

On Thu, Jan 8, 2009 at 2:24 AM, Nigel Kersten <nig...@google.com> wrote:

> We use environments for a release process, so we can test releases before
> pushing them to our stable environments.
> You can also get puppet to check manifests for syntax validity with
> --parseonly, which we and a lot of other people use as commit hooks in
> version control so that at least the syntax is guaranteed to be valid. That
> catches the fat finger errors, and the release process with environments
> lets us test the actual functionality.
>
>
> On Wed, Jan 7, 2009 at 4:02 AM, Matt <mattmora...@gmail.com> wrote:
>
>>
>> HI all,
>>
>> First thing - I've been keeping the puppet manifest, configs,
>> functions etc. in svn, but due to a few dodgy checkouts to the
>> puppetmaster (non production) i'd like to get a better process in
>> place.  Are people using anything to test the puppet deployments?
>> preferably in a continuous environment.  How are you
>> deploying/releasing puppet manifests etc.. to the master?
>>
>> Also a quick puppet question:
>>
>> I use this function to get an application tar file which is specified
>> in node manifest $dist = app-37434-3439493-.tar.gz:
>>
>>  exec { "get-app":
>>                cwd     => "/opt/dist",
>>                creates => "/opt/dist/$dist",
>>                path    => ["/usr/bin", "/usr/sbin"],
>>                command => "curl -s -f -o $dist http://
>> $repoUrl/app/$dist",
>>                before  => Exec["untar-dist"],
>>        }
>>
>> The 'creates' value ensures that it doesn't get re-downloaded on every
>> puppet poll.  Any new value to $dist works fine, but if $dist becomes
>> an old value then the file already exists, so the exec and subsequent
>> calls are not run.
>>
>> I guess using the file type would cure this, but I don't want the
>> master to serve the file, as I use a similar curl command to get the
>> file from S3 if specified.
>>
>> Thanks,
>>
>> Matt
>>
>>
>>
>
>
> --
> Nigel Kersten
> Systems Administrator
> Tech Lead - MacOps
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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