summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-08-28 06:13:29 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-08-28 06:13:29 +0000
commit5395e23f5427e165bafbab8b7c030641481ab4c2 (patch)
tree9472ee2650d8012e86a3804e12949c8daddf81ec /lib
parent8dbca3d5ff65dea26265981ad8489cd0e0212ad6 (diff)
downloadpuppet-5395e23f5427e165bafbab8b7c030641481ab4c2.tar.gz
puppet-5395e23f5427e165bafbab8b7c030641481ab4c2.tar.xz
puppet-5395e23f5427e165bafbab8b7c030641481ab4c2.zip
Adding pointer to templating docs into the file[content] documentation
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1499 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/type/pfile/content.rb12
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"