From f35ef9d6975710f2d77c2ea708c66500861d92d1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 22 Apr 2015 13:04:39 -0400 Subject: API change: Added User and Group newtypes, and Properties that used to use the type UserName = String were changed to use them. Note that UserName is kept and PrivData still uses it in its sum type. This is to avoid breaking PrivData serialization. --- doc/haskell_newbie.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/haskell_newbie.mdwn') diff --git a/doc/haskell_newbie.mdwn b/doc/haskell_newbie.mdwn index 39a62f45..6a3af340 100644 --- a/doc/haskell_newbie.mdwn +++ b/doc/haskell_newbie.mdwn @@ -64,7 +64,7 @@ Some other properties you may find in your config.hs, or want to add: [[!format haskell """ & Apt.unattendedUpgrades - & User.hasSomePassword "root" + & User.hasSomePassword (User "root") & "/etc/default/foodaemon" `File.containsLine` "ENABLED=yes" & Cron.runPropellor (Cron.Times "30 * * * *") """]] -- cgit v1.2.3