summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2017-01-26 02:54:00 -0400
committerJoey Hess2017-01-26 02:54:00 -0400
commit81a51f728bc021ac6f0cbf227a39682439196b32 (patch)
tree0b4f40bc15af211b21e3de0b165db519742ea62e /doc
parent1a4bf7a8b14abf8ddabfbe829635eb91d9960acc (diff)
example
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Inherited_Variables.../comment_2_988319ed6de46eff2eac0d5ef36382f9._comment15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/Inherited_Variables.../comment_2_988319ed6de46eff2eac0d5ef36382f9._comment b/doc/forum/Inherited_Variables.../comment_2_988319ed6de46eff2eac0d5ef36382f9._comment
new file mode 100644
index 00000000..676f41ac
--- /dev/null
+++ b/doc/forum/Inherited_Variables.../comment_2_988319ed6de46eff2eac0d5ef36382f9._comment
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2017-01-26T06:50:39Z"
+ content="""
+A worked example:
+
+ server :: Property Debian
+ server = property' "some description" $ \w -> do
+ os <- getOS
+ hostname <- asks hostName
+ ensureProperty w $
+ File.hasContent "/etc/apt/sources.list.d/matrix.list"
+ (genSourcesList os hostname)
+"""]]