#NEWLINE# def JujuInstall( vm , vm_group_name ) : #NEWLINE# #INDENT# 'Installs the cassandra-stress charm on the VM.' #NEWLINE# vm . JujuDeploy ( 'cs:~marcoceppi/trusty/cassandra-stress' , unit ) #NEWLINE# vm . JujuRelate ( 'cassandra' , 'cassandra-stress' ) #NEWLINE# vm . JujuWait ( ) #NEWLINE# for unit in vm . units : #NEWLINE# #INDENT# remote_path = posixpath . join ( CASSANDRA_DIR , 'conf' ) #NEWLINE# unit . RemoteCommand ( ( 'mkdir -p %s' % remote_path ) )