]> granicus.if.org Git - icinga2/commitdiff
Vagrant: Install debuginfo and latest packages by default.
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 4 Jun 2014 13:55:16 +0000 (15:55 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 4 Jun 2014 13:55:16 +0000 (15:55 +0200)
Fixes #6407

.vagrant-puppet/modules/icinga-web/manifests/init.pp
.vagrant-puppet/modules/icinga2-classicui/manifests/init.pp
.vagrant-puppet/modules/icinga2/manifests/init.pp

index fa687f4aaff469cab3a62c798ad7d148cf9fcde2..adc911bff0d351da7835251b2d0b1c0f7daaa554 100644 (file)
@@ -13,13 +13,13 @@ class icinga-web {
   }
 
   package { 'icinga-web':
-    ensure => installed,
+    ensure => latest,
     require => Class['icinga-rpm-snapshot'],
     notify => Service['apache']
   }
 
   package { 'icinga-web-mysql':
-    ensure => installed,
+    ensure => latest,
     require => Class['icinga-rpm-snapshot'],
     notify => Service['apache']
   }
index d5904ac8931d2bcd19dfd6292005309c629ac2f8..7925ce4d96431a8d3d233dc0d271aecd1bc051b5 100644 (file)
@@ -5,14 +5,14 @@ class icinga2-classicui {
   # workaround for package conflicts
   # icinga-gui pulls icinga-gui-config automatically
   package { 'icinga2-classicui-config':
-    ensure => installed,
+    ensure => latest,
     before => Package["icinga-gui"],
     require => Class['icinga-rpm-snapshot'],
     notify => Service['apache']
   }
 
   package { 'icinga-gui':
-    ensure => installed,
+    ensure => latest,
     alias => 'icinga-gui'
   }
 
index 7a2576fd1c024cf7e21c62517ef4a95542d78cde..b1c1cb3d6ef1f051fc4c6ad5df83593e95928063 100644 (file)
@@ -7,14 +7,28 @@ class icinga2 {
     alias => 'icinga2'
   }
 
+  package { 'icinga2-bin':
+    ensure => latest,
+    require => Class['icinga-rpm-snapshot'],
+    alias => 'icinga2-bin'
+  }
+
+  package { 'icinga2-common':
+    ensure => latest,
+    require => Class['icinga-rpm-snapshot'],
+    alias => 'icinga2-common'
+  }
+
   package { 'icinga2-doc':
     ensure => latest,
     require => Class['icinga-rpm-snapshot'],
     alias => 'icinga2-doc'
   }
 
-  package { 'mailx':
-    ensure => installed,
+  package { 'icinga2-debuginfo':
+    ensure => latest,
+    require => Class['icinga-rpm-snapshot'],
+    alias => 'icinga2-debuginfo'
   }
 
   service { 'icinga2':
@@ -29,8 +43,7 @@ class icinga2 {
     notify => Service['icinga2']
   }
 
-  icinga2::feature { 'livestatus':
-  }
+  icinga2::feature { 'livestatus': }
 }
 
 class icinga2-ido-mysql {