aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/utils/storage/iso.pp29
1 files changed, 20 insertions, 9 deletions
diff --git a/manifests/utils/storage/iso.pp b/manifests/utils/storage/iso.pp
index 2684f33..1b6685a 100644
--- a/manifests/utils/storage/iso.pp
+++ b/manifests/utils/storage/iso.pp
@@ -1,14 +1,25 @@
class nodo::utils::storage::iso (
$ensure = 'installed',
) {
- package { [
- #'syslinux',
- 'xorriso',
- ]:
- ensure => $::architecture ? {
- 'amd64' => $ensure,
- 'i386' => $ensure,
- default => absent,
- },
+ if !defined(Package['xorriso']) {
+ package { [
+ 'xorriso',
+ ]:
+ ensure => $::architecture ? {
+ 'amd64' => $ensure,
+ 'i386' => $ensure,
+ default => absent,
+ },
+ }
}
+
+ #package { [
+ # 'syslinux',
+ #]:
+ # ensure => $::architecture ? {
+ # 'amd64' => $ensure,
+ # 'i386' => $ensure,
+ # default => absent,
+ # },
+ #}
}