diff options
Diffstat (limited to 'manifests/server.pp')
-rw-r--r-- | manifests/server.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index c6bfec2..cfb72be 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -1,8 +1,10 @@ # manifests/server.pp class rsync::server { - package {'rsync': - ensure => installed, + if !defined(Package['rsync']) { + package {'rsync': + ensure => installed, + } } file { '/etc/rsyncd.conf': |