Skip to content

Commit e764341

Browse files
Merge branch 'master' of https://github.com/zxjinn/puppetmodule into zxjinn-master
Conflicts: manifests/params.pp
2 parents 5103d95 + 587029c commit e764341

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

manifests/agent.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
$puppet_run_command = '/usr/bin/puppet agent --no-daemonize --onetime --logdest syslog > /dev/null 2>&1',
5656
$user_id = undef,
5757
$group_id = undef,
58+
$package_provider = $::puppet::params::package_provider,
5859

5960
#[main]
6061
$templatedir = undef,
@@ -110,6 +111,7 @@
110111
}
111112
package { $puppet_agent_package:
112113
ensure => $version,
114+
provider => $package_provider,
113115
}
114116

115117
if $puppet_run_style == 'service' {

manifests/params.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
$digest_algorithm = 'md5'
3434
$puppet_run_interval = 30
3535
$classfile = '$statedir/classes.txt'
36+
$package_provider = undef # falls back to system default
3637

3738
# Only used when environments == directory
3839
$environmentpath = "${confdir}/environments"

0 commit comments

Comments
 (0)