I thought I understood how to guarantee execution order, but apparently not.
Currently doing:
class profiles::ldap_server_apt {
class { 'apt':
}
apt::source { 'my_repo':
location => 'my.repo.com',
}
package { 'my_ldap_package':
require => [Class['apt::update'], Apt::Source['my_repo'] ]
}
include profiles::ldap_server
}
class profiles::ldap_server {
require profiles::ldap_server_apt
class { 'openldap::server':
}
}
Yet `my_ldap_package` still gets installed **last**. Um, what? How much more explicit can I get about the order I want things to execute? My only guess is that the apt module has some kind of "install packages last no matter what the user says they want" code block but I have no idea.
↧