diff options
author | nfagerlund <nick.fagerlund@gmail.com> | 2011-08-17 15:20:26 -0700 |
---|---|---|
committer | nfagerlund <nick.fagerlund@gmail.com> | 2011-08-18 12:39:04 -0700 |
commit | 400b91ab02428c6a51886f31cbb12b9d4852b6e9 (patch) | |
tree | f901de1bfddf514abeb6c31a43f91db3111804b9 /lib/puppet/parser/functions/getvar.rb | |
parent | fa2fde6635042cca38ec6f42b93faafda54d41cd (diff) | |
download | puppet-stdlib-400b91ab02428c6a51886f31cbb12b9d4852b6e9.tar.gz puppet-stdlib-400b91ab02428c6a51886f31cbb12b9d4852b6e9.tar.bz2 |
Docs: Correct indentation of markdown code examples
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.
Diffstat (limited to 'lib/puppet/parser/functions/getvar.rb')
-rw-r--r-- | lib/puppet/parser/functions/getvar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/getvar.rb b/lib/puppet/parser/functions/getvar.rb index ffd774d..3ca179f 100644 --- a/lib/puppet/parser/functions/getvar.rb +++ b/lib/puppet/parser/functions/getvar.rb @@ -5,11 +5,11 @@ module Puppet::Parser::Functions For example: - $foo = getvar('site::data::foo') + $foo = getvar('site::data::foo') This is useful if the namespace itself is stored in a string: - $bar = getvar("${datalocation}::bar") + $bar = getvar("${datalocation}::bar") ENDHEREDOC unless args.length == 1 |