summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2016-12-22 22:41:20 -0500
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2016-12-22 22:41:20 -0500
commit2cf97fbf458522e9da6a3ed21e3105d1f488d111 (patch)
tree776fdee78c79a0ad3af5adf2dc397ef9b8f1b8f3 /manifests
parentfd8b21222b969e779d10cb5d49e2e10f717b8358 (diff)
mark packages as present instead of installed to be consistent
Diffstat (limited to 'manifests')
-rw-r--r--manifests/apticron.pp2
-rw-r--r--manifests/cron/dist_upgrade.pp2
-rw-r--r--manifests/dselect.pp2
-rw-r--r--manifests/listchanges.pp2
-rw-r--r--manifests/preseeded_package.pp2
-rw-r--r--manifests/upgrade_package.pp4
6 files changed, 7 insertions, 7 deletions
diff --git a/manifests/apticron.pp b/manifests/apticron.pp
index 7dbbfb6..0adcc68 100644
--- a/manifests/apticron.pp
+++ b/manifests/apticron.pp
@@ -1,5 +1,5 @@
class apt::apticron (
- $ensure_version = 'installed',
+ $ensure_version = 'present',
$config = "apt/${::operatingsystem}/apticron.erb",
$email = 'root',
$diff_only = '1',
diff --git a/manifests/cron/dist_upgrade.pp b/manifests/cron/dist_upgrade.pp
index 39db07a..7cd3964 100644
--- a/manifests/cron/dist_upgrade.pp
+++ b/manifests/cron/dist_upgrade.pp
@@ -3,7 +3,7 @@ class apt::cron::dist_upgrade (
) {
package { 'cron-apt':
- ensure => installed;
+ ensure => present;
}
case $cron_hours {
diff --git a/manifests/dselect.pp b/manifests/dselect.pp
index beee9ee..bfc6cb3 100644
--- a/manifests/dselect.pp
+++ b/manifests/dselect.pp
@@ -9,6 +9,6 @@ class apt::dselect {
}
package { 'dselect':
- ensure => installed;
+ ensure => present;
}
}
diff --git a/manifests/listchanges.pp b/manifests/listchanges.pp
index e2b77be..d657812 100644
--- a/manifests/listchanges.pp
+++ b/manifests/listchanges.pp
@@ -1,5 +1,5 @@
class apt::listchanges (
- $ensure_version = 'installed',
+ $ensure_version = 'present',
$config = "apt/${::operatingsystem}/listchanges.erb",
$frontend = 'mail',
$email = 'root',
diff --git a/manifests/preseeded_package.pp b/manifests/preseeded_package.pp
index 3c69f9b..7e092fd 100644
--- a/manifests/preseeded_package.pp
+++ b/manifests/preseeded_package.pp
@@ -1,7 +1,7 @@
# Install a package with a preseed file to automatically answer some questions.
define apt::preseeded_package (
- $ensure = 'installed',
+ $ensure = 'present',
$content = '',
) {
diff --git a/manifests/upgrade_package.pp b/manifests/upgrade_package.pp
index 079fc3b..3ba2077 100644
--- a/manifests/upgrade_package.pp
+++ b/manifests/upgrade_package.pp
@@ -13,13 +13,13 @@ define apt::upgrade_package (
if !defined(Package['apt-show-versions']) {
package { 'apt-show-versions':
- ensure => installed,
+ ensure => present,
}
}
if !defined(Package['dctrl-tools']) {
package { 'dctrl-tools':
- ensure => installed,
+ ensure => present,
}
}