diff --git a/manifests/init.pp b/manifests/init.pp index 7de864b..d0e6624 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,6 +22,9 @@ # [*repo_release*] # OS release version. Only LTS is supported # +# [*package_version*] +# version of package to ensure, defaults to installed +# # [*conf_merge*] # Ignore the value bound to ceph::conf and perform a # hiera_hash call to merge config fragments tegether @@ -57,6 +60,7 @@ $manage_repo = true, $repo_version = 'hammer', $repo_release = 'trusty', + $package_version = 'installed', # Global configuration $conf_merge = false, $conf = { diff --git a/manifests/install.pp b/manifests/install.pp index c2fb439..0de0fda 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -5,7 +5,7 @@ assert_private() package { 'ceph': - ensure => installed, + ensure => $::ceph::package_version, } ensure_packages($::ceph::prerequisites)