LGTM, thanks
On Thu, Dec 12, 2013 at 5:20 PM, Klaus Aehlig <[email protected]> wrote: > Extend Path.hs to also provide the path to the file indicating > whether watcher is paused. > > Signed-off-by: Klaus Aehlig <[email protected]> > --- > src/Ganeti/Path.hs | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/src/Ganeti/Path.hs b/src/Ganeti/Path.hs > index 76a8ea1..34ea979 100644 > --- a/src/Ganeti/Path.hs > +++ b/src/Ganeti/Path.hs > @@ -32,6 +32,7 @@ module Ganeti.Path > , defaultQuerySocket > , confdHmacKey > , clusterConfFile > + , watcherPauseFile > , nodedCertFile > , queueDir > , jobQueueSerialFile > @@ -100,6 +101,10 @@ confdHmacKey = dataDirP "hmac.key" > clusterConfFile :: IO FilePath > clusterConfFile = dataDirP "config.data" > > +-- | Path to the watcher pause file. > +watcherPauseFile :: IO FilePath > +watcherPauseFile = dataDirP "watcher.pause" > + > -- | Path to the noded certificate. > nodedCertFile :: IO FilePath > nodedCertFile = dataDirP "server.pem" > -- > 1.8.5.1 > >
