diff --git a/manifests/install.pp b/manifests/install.pp index 5352412a..465bd7f0 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -26,6 +26,9 @@ package { $package_name: ensure => installed, } + File { + require => Package[$package_name], + } } if $extra_packages { @@ -71,7 +74,7 @@ mode => '0755', } - exec { 'link old db schema directory for compatibility': + -> exec { 'link old db schema directory for compatibility': path => $facts['path'], command => "ln -s ${data_dir}/schema ${comp_dir}/schema", unless => "stat ${comp_dir}/schema",