From c25be89f874c6822f9f07049577e4e0acb560d57 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 7 Apr 2015 12:42:54 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/IABak.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Propellor') diff --git a/src/Propellor/Property/SiteSpecific/IABak.hs b/src/Propellor/Property/SiteSpecific/IABak.hs index e0e96838..52f6e668 100644 --- a/src/Propellor/Property/SiteSpecific/IABak.hs +++ b/src/Propellor/Property/SiteSpecific/IABak.hs @@ -37,7 +37,9 @@ graphiteServer = propertyList "iabak graphite server" $ props & graphiteCSRF & cmdProperty "graphite-manage" ["syncdb", "--noinput"] `flagFile` "/etc/flagFiles/graphite-syncdb" & cmdProperty "graphite-manage" ["createsuperuser", "--noinput", "--username=joey", "--email=joey@localhost"] `flagFile` "/etc/flagFiles/graphite-user-joey" + `flagFile` "/etc/graphite-superuser-joey" & cmdProperty "graphite-manage" ["createsuperuser", "--noinput", "--username=db48x", "--email=db48x@localhost"] `flagFile` "/etc/flagFiles/graphite-user-db48x" + `flagFile` "/etc/graphite-superuser-db48x" -- TODO: deal with passwords somehow & File.ownerGroup "/var/lib/graphite/graphite.db" "_graphite" "_graphite" & File.hasContent "/etc/apache2/iabak-graphite-web.conf" -- cgit v1.2.3