Has anyone else ran into this?
debug: /Stage[main]/Mcollective/File[/var/tmp/facts.yaml]/content:
Executing 'diff -u /var/tmp/facts.yaml
/tmp/puppet-file20121214-13448-933j3r-0'
notice: /Stage[main]/Mcollective/File[/var/tmp/facts.yaml]/content:
--- /var/tmp/facts.yaml 2012-12-14 00:53:20.000000000 +0000
+++ /tmp/puppet-file20121214-13448-933j3r-0 2012-12-14 00:55:35.000000000
+0000
@@ -93,13 +93,13 @@
architecture: *id002
processor14: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
- type: Rack Mount Chassis
processor20: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
+ type: Rack Mount Chassis
domain: mochimedia.net
timezone: UTC
title: mcollective
- diskdrives: sda
+ diskdrives: sda
ipaddress_eth1: 10.0.8.71
processor8: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
processor11: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
When Puppet comparse the /var/tmp/facts.yaml file to the file in the
Filebucket it adds some replaces some entries with an extra space. It
appears to add a couple different entries each run.
Here is the file resource --
"/var/tmp/facts.yaml":
owner => root,
group => root,
mode => 400,
loglevel => debug,
content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s
=~ /(uptime_seconds|uptime_hours|timestamp|free)/ }.to_yaml %>")
Any thoughts or suggestions? Seems like an odd one to me.
-Z
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/KWkrTqkvwXcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.