Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How do I guarantee execution order in puppet?

$
0
0
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.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>