diff modules/postfix/manifests/init.pp @ 131:0dd899a10ee1 puppet-3.6

Change all "latest" packages to "installed" Having Puppet update packages is dangerous and not correct sysadmin. We have a script for checking for updates. Let that run and let the sysadmin update when appropriate. This will prevent any potential issues from faulty service restarts in the middle of the night.
author IBBoard <dev@ibboard.co.uk>
date Wed, 26 Oct 2016 19:40:37 +0100
parents 8316d4e55e92
children 048bc4d6af43
line wrap: on
line diff
--- a/modules/postfix/manifests/init.pp	Thu Oct 06 19:02:30 2016 +0100
+++ b/modules/postfix/manifests/init.pp	Wed Oct 26 19:40:37 2016 +0100
@@ -8,7 +8,7 @@
     ensure => stopped,
   }
   package { 'postfix':
-    ensure => latest;
+    ensure => installed;
   }
   service { 'postfix':
     ensure    => running,
@@ -114,6 +114,6 @@
   }
   $perl_pkgs = [ 'perl', 'perl-NetAddr-IP', 'perl-Mail-SPF', 'perl-version', 'perl-Sys-Hostname-Long']
   package { $perl_pkgs:
-    ensure => latest,
+    ensure => installed,
   }
 }