From 518b7be04ec86f77f070a4b34767930e973da2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20Jungh=C3=A4nel?= Date: Tue, 3 Dec 2019 12:57:06 +0100 Subject: [PATCH] Support custom package provider --- manifests/init.pp | 1 + manifests/install.pp | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 4044c42..74fcd75 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -19,6 +19,7 @@ $package_ensure = $chrony::params::package_ensure, $package_name = $chrony::params::package_name, $package_source = $chrony::package_source, + $package_provider = $chrony::package_provider, $refclocks = $chrony::params::refclocks, $peers = $chrony::params::peers, $servers = $chrony::params::servers, diff --git a/manifests/install.pp b/manifests/install.pp index 1623a41..3c4d9f6 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -1,13 +1,15 @@ # install chrony class chrony::install ( - $package_ensure = $chrony::package_ensure, - $package_name = $chrony::package_name, - $package_source = $chrony::package_source, + $package_ensure = $chrony::package_ensure, + $package_name = $chrony::package_name, + $package_source = $chrony::package_source, + $package_provider = $chrony::package_provider, ) inherits chrony { package { 'chrony': - ensure => $package_ensure, - name => $package_name, - source => $package_source, + ensure => $package_ensure, + name => $package_name, + source => $package_source, + provider => $package_provider, } }