Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a bunch of static web files that change from time to time. Right now I'm syncing my servers up using rsync, but I'd instead like to add scripts to my git repository so that when changes are made, devs can quickly turn the static files into a deb, upload them to our apt repo, and then push an update out to the servers.

This is new to me. All of the tutorials that I've found focus on compiling code and dependencies, but I don't need that complexity. What's the quickest toolset that we can use to quickly package our static content into a deb?

share|improve this question

1 Answer 1

I am not sure if I understand you correct, but have you read about puppet: http://en.wikipedia.org/wiki/Puppet_(software)
https://puppetlabs.com/puppet/what-is-puppet/

Puppet is designed to share config-files and other configurations from a server to several clients for an automated configuration, but it can do this with every file or folder you want.

The beginning with this software is a little bit tricky, but if you worked with it for a time it is very useful.

share|improve this answer
1  
I'm very active with puppet, but it does not handle large volumes of files well. Right now, Puppet kicks off an Exec resource which calls rsync. I'm trying to remove the rsync step and replace it with a Package resource so that I can keep my content decoupled from my deploy/config logic. The idea is that a dev can package their files, and push them to a repo so that Puppet can automatically deploy them without the devs having to become Puppet experts. –  GregB Apr 2 '13 at 21:54
    
@GregB Good comment. I would recommend rolling this comment into your original question as it does a good job clarifying your requirements. –  Kevin Bowen Apr 2 '13 at 22:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.