File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11---
22fixtures :
33 repositories :
4- stdlib : " git://github.com/puppetlabs/puppetlabs-stdlib"
54 cron_core : " git://github.com/puppetlabs/puppetlabs-cron_core"
Original file line number Diff line number Diff line change 3333
3434 $_remote_metrics_enabled = if $remote_metrics_enabled =~ Boolean {
3535 $remote_metrics_enabled
36- } elsif fact (' pe_server_version' ) =~ NotUndef {
37- if versioncmp(fact (' pe_server_version' ), ' 2019.8.5' ) >= 0 {
36+ } elsif $facts .dig (' pe_server_version' ) =~ NotUndef {
37+ if versioncmp($facts .dig (' pe_server_version' ), ' 2019.8.5' ) >= 0 {
3838 true
3939 } else {
4040 false
Original file line number Diff line number Diff line change 5151
5252 if $facts [' virtual' ] == ' vmware' {
5353 if $manage_vmware_tools and ($system_metrics_ensure == ' present' ) {
54- ensure_packages([$vmware_tools_pkg ])
54+ package {$vmware_tools_pkg:
55+ ensure => present ,
56+ }
5557 }
5658
5759 file { "${scripts_dir}/vmware_metrics" :
Original file line number Diff line number Diff line change 88 "project_page" : " https://github.com/puppetlabs/puppetlabs-puppet_metrics_collector" ,
99 "issues_url" : " https://github.com/puppetlabs/puppetlabs-puppet_metrics_collector/issues" ,
1010 "dependencies" : [
11- {
12- "name" : " puppetlabs-stdlib" ,
13- "version_requirement" : " >= 2.6.0 < 8.0.0"
14- }
1511 ],
1612 "operatingsystem_support" : [
1713 {
You can’t perform that action at this time.
0 commit comments