org.apache.whirr.service.puppet.functions
Interface StatementToInstallModule.PrepareRemoteFileUrl

All Known Implementing Classes:
StatementToInstallModule.PrepareRemoteFileUrlUsingBlobCache
Enclosing class:
StatementToInstallModule

public static interface StatementToInstallModule.PrepareRemoteFileUrl


Method Summary
 String apply(String rawUrl)
          Prepare the file url for the remote machine.
 

Method Detail

apply

String apply(String rawUrl)
             throws IOException
Prepare the file url for the remote machine. For public urls this function does nothing. For local urls it uploads the files to a temporary blob cache and adds download statement.

Parameters:
rawUrl - raw url as provided in the configuration file
Returns:
an URL visible to the install / configure scripts
Throws:
IOException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.