summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/loadyaml.rb
AgeCommit message (Collapse)Author
2011-08-18Docs: Correct indentation of markdown code examplesnfagerlund
Code examples in several function doc strings were only indented by two spaces, which would not result in proper display when rendered as HTML. This commit corrects the indentation to four spaces.
2011-07-26(#8575) Add loadyaml() functionJeff McCune
This change adds a loadyaml() puppet function that takes a path to a YAML data file and returns the contents as a Puppet variable. There is currently no validation of the contents of the file. This commit is intentionally lacking unit tests because of time constraints. Reviewed-by: Dan Bode