aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/storage/archive.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/storage/archive.pp')
-rw-r--r--manifests/utils/storage/archive.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/utils/storage/archive.pp b/manifests/utils/storage/archive.pp
index 4082fe2..0c3f5cc 100644
--- a/manifests/utils/storage/archive.pp
+++ b/manifests/utils/storage/archive.pp
@@ -1,8 +1,11 @@
-class nodo::utils::storage::archive {
+class nodo::utils::storage::archive (
+ $ensure = 'installed',
+) {
package { [
'git-annex',
]:
- ensure => latest,
+ #ensure => latest,
+ ensure => $ensure,
}
# Not in use
@@ -18,8 +21,8 @@ class nodo::utils::storage::archive {
'syslinux-utils',
]:
ensure => $::architecture ? {
- 'amd64' => present,
- 'i386' => present,
+ 'amd64' => $ensure,
+ 'i386' => $ensure,
default => absent,
},
}