diff options
-rwxr-xr-x | lib/puppet/type/pfile/content.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/puppet/type/pfile/content.rb b/lib/puppet/type/pfile/content.rb index 5853b99f6..a8422431f 100755 --- a/lib/puppet/type/pfile/content.rb +++ b/lib/puppet/type/pfile/content.rb @@ -1,9 +1,9 @@ module Puppet Puppet.type(:file).newstate(:content) do - desc "Specify the contents of a file as a string. Newlines, tabs, and spaces - can be specified using the escaped syntax (e.g., \\n for a newline). The - primary purpose of this parameter is to provide a kind of limited - templating: + desc "Specify the contents of a file as a string. Newlines, tabs, and + spaces can be specified using the escaped syntax (e.g., \\n for a + newline). The primary purpose of this parameter is to provide a + kind of limited templating: define resolve(nameserver1, nameserver2, domain, search) { $str = \"search $search @@ -17,8 +17,8 @@ module Puppet } } - Yes, it's very primitive, and it's useless for larger files, but it - is mostly meant as a stopgap measure for simple cases." + This attribute is especially useful when used with + [templating](templating.html)." def change_to_s "synced" |