Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Over the last 5 years or so, I've been seeing more and more techniques to sync things from browsers, to ide's.

Now I'm keen on setting up something similar for 'meta-managing apt package profiles' under debian or ubuntu systems. The problem is that there's no simple way to go about doing it. The strategy of most admins seems to be to create a meta (deb) package with a tool like equivs, but I'm not so sure that this is the best way to go about doing it.

Should I continue down the path of equivs? Are there UI's to manage things like that?

Many thanks in advance ^_^!

share|improve this question
    
I'd just like to add to this, that there's a nice comparison of, what is named 'open source configuration management tools' on wikipedia. Check it out :): en.wikipedia.org/wiki/… –  Matthew B. Gray Jul 23 '09 at 6:36
add comment

1 Answer

up vote 3 down vote accepted

How about puppet? Or one of its competitors, like Chef.

As an added bonus, it can be used to push the configuration files out, too. And make sure the right services are running. etc. And you can change your mind later to add packages and puppet will take care of it for you.

Code looks something like this (but preferably spread out into some modules, etc):

node foo { include webserver }
node bar { include webserver }
node baz { include imapserver }
node hmm { include smtpserver }

class webserver {
  package {
    [ "apache2", "mod_ssl", "php5", "php5-cli" ]:
      ensure => present;
  }
}

class mailserver {
  package {
    "ldaplibraries":
      ensure => present;
  }
}

class imapserver {
  include mailserver
  package {
    "dovecot":
      ensure => present;
  }
}

class smtpserver {
  include mailserver
  package {
    "exim":
       ensure => present;
  }
}

Add some file { "/etc/exim.conf": source => "puppet:///smtpserver/exim.conf"; } and service { "exim": ensure => running, enable => true; } type stuff in there and you might just have a complete solution, not just a package management solution.

share|improve this answer
    
I'd like to commend this answer; it's exactly the thing I was looking for. Thankyou freiheit ^_^. –  Matthew B. Gray Jul 17 '09 at 3:06
add comment

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.