We should document this module as per the guidelines and best practices within the Puppet community:

Comments

ergonlogic’s picture

ergonlogic’s picture

Status: Active » Needs review

Setting to needs review, as I'd like to get some other eyes on this: http://drupalcode.org/project/puppet-aegir.git/blob/refs/heads/aegir_bra...

tom friedhof’s picture

Not sure what's going on, but I'm getting this error when I include aegir on a node.

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type config_file at /etc/puppet/modules/apt/manifests/init.pp:36 on node

I'm a noob with puppet, any help would be appreciated. Thanks.

ergonlogic’s picture

Have you uploaded the other modules the Aegir module depends on, and added the 'import "common"' line to your manifest?

tom friedhof’s picture

I've added 'import "common"' to the nodes.pp file for the node I want to install aegir on, now I'm getting another error, which appears to be with drush:

err: //ubuntu.activelamp.net//Stage[main]/Apt/Exec[/usr/bin/apt-get update]: Failed to call refresh: /usr/bin/apt-get update returned 100 instead of one of [0] at /etc/puppet/modules/apt/manifests/init.pp:80
err: //ubuntu.activelamp.net//Stage[main]/Drush/Package[drush]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install drush' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package drush is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package drush has no installation candidate

I'm trying to install on Ubuntu 10.04 LTS, if that makes a difference. Thanks ergonlogic for the help!

ergonlogic’s picture

The version of Drush in Lucid is horribly out-of-date (2.0!), and isn't supported by Aegir. You'll need to add 'lucid-backports' to your sources.list, which will get you to Drush 4.4, which is supported. I don't know that it'll work, as I only directly support Debian at the moment, but it's a step in the right direction.

Also, while I really appreciate your testing and feedback, please post a new issue when there isn't already an issue treating the problem you're experiencing. I'm fully subscribed to the queue and get alerted whenever a new issue is posted. Perhaps you could post a 'Support for Ubuntu Lucid (10.04)' support/feature request? That would also make it easier for other to find the issue in the future, if they're experiencing similar problems. Thanks :-)

ergonlogic’s picture

Issue summary: View changes
Status: Needs review » Fixed

README has been reasonably complete for some time now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.