summaryrefslogtreecommitdiff
path: root/doc/forum/Inherited_Variables.../comment_2_988319ed6de46eff2eac0d5ef36382f9._comment
blob: 676f41acfdff2ec481ddd31451a68359c59abe5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
"""]]