diff options
author | Gabriel Filion <lelutin@gmail.com> | 2012-04-13 02:19:05 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2012-04-13 02:19:05 -0400 |
commit | 917274dc6ba44ae114d16da5e1fa1e3701ac0b87 (patch) | |
tree | d2cf6103a62a9f968472110e14160c3885b01f32 | |
parent | edd53ae0e92e728c646faed80ce4eec46d92b588 (diff) | |
download | puppet-smartmontools-917274dc6ba44ae114d16da5e1fa1e3701ac0b87.tar.gz puppet-smartmontools-917274dc6ba44ae114d16da5e1fa1e3701ac0b87.tar.bz2 |
Ensure package is installed before installing "default" file
There's currently no link that forces puppet to install the package
before placing the file /etc/default/smartmontools. This leads to errors
in the package's install process.
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 8bafa95..d8ce756 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,8 +48,9 @@ class smartmontools { owner => root, group => root, mode => 0644, - notify => Service["smartmontools"], + notify => Service['smartmontools'], source => "puppet://$server/modules/smartmontools/default/smartmontools", + require => Package['smartmontools'], } service { "smartmontools": |