about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-05-03 02:15:10 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-05-03 02:49:49 +0200
commit76da82197f6cb49c7cbc4fa0d534489a358b9f74 (patch)
treeb53123da5740d00cbe33ce586b354bed999ccffb /lib
parent15d1159650a00fe36bb714f26ec3a915d12c9bf1 (diff)
lib: Rename callMachines to callNetwork
This is to name it closer to what NixOps calls a network expression, so
that it's clear that there is more abstraction going on like setting the
hostname rather than just being a plain mapAttrs over callMachine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index dec45706..2c211f6f 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -1,7 +1,7 @@
 rec {
   callMachine = import ./call-machine.nix;
 
-  callMachines = path: args: let
+  callNetwork = path: args: let
     machines = import path;
   in with builtins; listToAttrs (map (name: {
     inherit name;