Safe Haskell | None |
---|
- withPrivData :: PrivDataField -> (String -> Propellor Result) -> Propellor Result
- getPrivData :: PrivDataField -> IO (Maybe String)
- setPrivData :: HostName -> PrivDataField -> IO ()
- dumpPrivData :: HostName -> PrivDataField -> IO ()
- decryptPrivData :: HostName -> IO (Map PrivDataField String)
- makePrivDataDir :: IO ()
- privDataDir :: FilePath
- privDataFile :: HostName -> FilePath
- privDataLocal :: FilePath
- gpgDecrypt :: FilePath -> IO String
- gpgEncrypt :: FilePath -> String -> IO ()
Documentation
withPrivData :: PrivDataField -> (String -> Propellor Result) -> Propellor ResultSource
When the specified PrivDataField is available on the host Propellor is provisioning, it provies the data to the action. Otherwise, it prints a message to help the user make the necessary private data available.
getPrivData :: PrivDataField -> IO (Maybe String)Source
setPrivData :: HostName -> PrivDataField -> IO ()Source
dumpPrivData :: HostName -> PrivDataField -> IO ()Source
makePrivDataDir :: IO ()Source
gpgDecrypt :: FilePath -> IO StringSource
gpgEncrypt :: FilePath -> String -> IO ()Source