Skip to content

Commit

Permalink
fix for voxpupuli#361
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gkiouros committed Oct 30, 2019
1 parent 10c5154 commit fabd788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/server/config/factsource/yaml.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
if $yaml_fact_cron {
if versioncmp($::facterversion, '3.0.0') >= 0 {
cron { 'refresh-mcollective-metadata':
command => "puppet facts --render-as yaml |sed 's#!ruby/object:Puppet::Node::Facts##g' >${yaml_fact_path_real} 2>&1",
command => "facter -p --yaml >${yaml_fact_path_real} 2>&1"",
environment => 'PATH=/opt/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
user => 'root',
minute => $cron_minutes,
Expand Down

0 comments on commit fabd788

Please sign in to comment.