Hi, On 22/06/14 22:46, Michael R wrote:
> Looking over and working on NixOps. Can someone tell me what is the rule of > thumb what belongs in MachineDefinition and what belongs in MachineState. In general, everything in the definition will have a corresponding attribute in the state, where the former denotes the desired value and the latter is the actual value of the item. > For example, in virtualbox backend, memorySize is only in the definition and > is > never "stored?" in MachineState. That's essentially a bug/limitation, because it means NixOps won't detect when you change the memory size in the specification and re-run "nixops deploy". So we may want to add a memory_size attribute to the state. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
