1 # Puppet manifests for a 'hackers GMAIL replacement' based on
2 # http://dbpmail.net/essays/2013-06-29-hackers-replacement-for-gmail.html
30 require => Package["postfix"];
34 require => Package["dovecot"];
38 require => Package["sasl2-bin"]
41 # Beter support for pulling a github repo ?
42 # support for running 'sudo python setup.py install' to build afew
61 command => "git clone https://github.com/teythoon/afew /var/tmp/git/afew"
62 creates => "/var/tmp/git/afew/setup.py";
63 requires => [File["/var/tmp/git"],Package["git"]]
65 cwd => "/var/tmp/git/afew";
66 command => "/usr/bin/python /var/tmp/git/afew/setup.py install",
67 creates => "/usr/local/bin/afew",
68 requires => [Exec["clone-afew-repo"],Package["python-dev"],Package["gcc"]];
72 "/usr/local/bin/afew":
74 require => Exec["install-afew"];
75 "/usr/local/bin/my-notmuch-new.sh":
78 source => "puppet:///module/hgr/my-notmuch-new.sh",
79 require => [Package["notmuch"], File["/usr/local/bin/afew"]];