Displaying 1 result from an estimated 1 matches for "servermd5".
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
...(response.code >= "200"))
return response.body
else
raise "server did not return an acceptable reponse code"
end # end server response code check
else
raise "No response from #{server}"
end # end nil response check
end # end apitruthtag
servermd5 = YAML.load(apitruthtag("metadata")).ivars["checksum"] #
When executed from a puppet run I tells me that ivars is undefined.
- lib -> puppet -> parser -> functions -> truth_tags.rb
- manifests -> init.pp
ex:
class truth inherits truth::init_bootstrap {
if truth_t...