#this is a snippet of store.rb file, you can get it 
at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/reports/store.rb
now = Time.now.gmtime
    name = %w{year month day hour min}.collect do |method|
      # Make sure we're at least two digits everywhere
      "%02d" % now.send(method).to_s
end.join("") + ".yaml"

     when my master run 'puppet kick -- host **' command twice quickly. 
this statement will get the same result. if the agent 

 run two command quickly, i will get the same 'name' to both command. 

for example the time of this two command are Wed Oct 29 10:17:28 +0800 2014 
and Wed Oct 29 10:17:10 +0800 2014, 

the result always is 201410290217.yaml. but in my context,i want to know if 
my master get a report from agent, so when the report file name is same for 
both comand

i will think i don't get a report.the next command's report will replace 
the report before it using the same name, this will result losing some 
report

is this a bug ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9a226e70-5239-4180-ac33-505874dd404a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to