Skip to content

Commit

Permalink
Support custom package provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Junghänel committed Dec 3, 2019
1 parent 58740a7 commit 518b7be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
14 changes: 8 additions & 6 deletions manifests/install.pp
Original file line number Diff line number Diff line change
@@ -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,
}

}

0 comments on commit 518b7be

Please sign in to comment.