anchor.diff:          undefined ->
               lager:info("Not using container orchestration; disabling."),
               ok;
  -        _ ->
  +        Orchestration ->
               lager:info("Orchestration: ~p", [Orchestration]),
   
  -            %% Configure erlcloud.
  -            S3Host = "s3-us-west-2.amazonaws.com",
  -            AccessKeyId = os:getenv("AWS_ACCESS_KEY_ID"),
  -            SecretAccessKey = os:getenv("AWS_SECRET_ACCESS_KEY"),
  -            erlcloud_s3:configure(AccessKeyId, SecretAccessKey, S3Host),
  -
  -            %% Create S3 bucket.
  -            try
  -                BucketName = bucket_name(),
  -                lager:info("Creating bucket: ~p", [BucketName]),
  -                ok = erlcloud_s3:create_bucket(BucketName),
  -                lager:info("Bucket created.")
  -            catch
  -                _:{aws_error, Error} ->
  -                    lager:info("Bucket creation failed: ~p", [Error]),
  +            case Orchestration of
  +                mesos ->
  +                    configure_s3_bucket();
  +                _ ->
                       ok
               end,
  -
  -            lager:info("S3 bucket creation succeeded."),
   
               %% Only construct the graph and attempt to repair the graph
               %% from the designated server node.
  
positive.code: 
      %% Build the graph.
      Graph = digraph:new(),
      Orphaned = populate_graph(Nodes, Graph),
  
      {SymmetricViews, VisitedNames} = breath_first(node(), Graph, ordsets:new()),
      AllNodesVisited = length(Nodes) == length(VisitedNames),
  
negative.code:                           attempted_nodes=AttemptedNodes}};
  
  handle_info(?ARTIFACT_MESSAGE, State) ->
      %% Get current membership.
      {ok, Nodes} = lasp_peer_service:members(),
  
      %% Store membership.
      Node = prefix(atom_to_list(node())),
      Membership = term_to_binary(Nodes),
      upload_artifact(State, Node, Membership),
  
      schedule_artifact_upload(),
  
  