Skip to content

Commit

Permalink
Support custom package source
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Junghänel committed Dec 3, 2019
1 parent c484e84 commit 58740a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
$log_options = $chrony::params::log_options,
$package_ensure = $chrony::params::package_ensure,
$package_name = $chrony::params::package_name,
$package_source = $chrony::package_source,
$refclocks = $chrony::params::refclocks,
$peers = $chrony::params::peers,
$servers = $chrony::params::servers,
Expand Down
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
class chrony::install (
$package_ensure = $chrony::package_ensure,
$package_name = $chrony::package_name,
$package_source = $chrony::package_source,
) inherits chrony {
package { 'chrony':
ensure => $package_ensure,
name => $package_name,
source => $package_source,
}

}

0 comments on commit 58740a7

Please sign in to comment.