Optional[String] $pg_port = "5432",
Optional[String] $caldance_version = undef,
Optional[String] $caldance_sha256 = undef,
+ Optional[Array] $cron_pip = [],
) {
$password_seed = lookup("base_installation::puppet_pass_seed")
include "base_installation"
+ include "profile::mail"
include "profile::tools"
include "profile::postgresql"
include "profile::apache"
wsgi_script_aliases => { "/" => "$caldance_app/main_app/wsgi.py" };
default: * => $::profile::apache::apache_vhost_default;
}
+
+ $mailtos = join($cron_pip, ",")
+ cron::job { "list_outdated_pip_packages":
+ ensure => present,
+ user => $user,
+ environment => concat(["HOME=${home}","MAILTO=${mailtos}"], $shell_env),
+ command => "${home}/virtualenv/bin/pip list --outdated",
+ minute => "15",
+ hour => "0",
+ require => Exec["initialize_venv"],
+ }
}