summary refs log tree commit diff
path: root/nixos/modules/services/misc/mesos-master.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-05-10 16:38:19 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2015-05-10 17:23:33 -0400
commit760169663e9d96db9a3917067fa982ac044107e4 (patch)
treee971a15e40886a912eb0ebabb9a6324ed7a6a7d7 /nixos/modules/services/misc/mesos-master.nix
parent9d9e21c7fd7e898b51438a1900dc18366a1fb229 (diff)
downloadnixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar.gz
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar.bz2
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar.lz
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar.xz
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.tar.zst
nixpkgs-760169663e9d96db9a3917067fa982ac044107e4.zip
mesos: fix indentation in service definition
Diffstat (limited to 'nixos/modules/services/misc/mesos-master.nix')
-rw-r--r--nixos/modules/services/misc/mesos-master.nix30
1 files changed, 15 insertions, 15 deletions
diff --git a/nixos/modules/services/misc/mesos-master.nix b/nixos/modules/services/misc/mesos-master.nix
index 5609cf75bb5..11e21c33447 100644
--- a/nixos/modules/services/misc/mesos-master.nix
+++ b/nixos/modules/services/misc/mesos-master.nix
@@ -40,10 +40,10 @@ in {
 
       extraCmdLineOptions = mkOption {
         description = ''
-	  Extra command line options for Mesos Master.
+          Extra command line options for Mesos Master.
 
-	  See https://mesos.apache.org/documentation/latest/configuration/
-	'';
+          See https://mesos.apache.org/documentation/latest/configuration/
+        '';
         default = [ "" ];
         type = types.listOf types.string;
         example = [ "--credentials=VALUE" ];
@@ -82,20 +82,20 @@ in {
       wantedBy = [ "multi-user.target" ];
       after = [ "network-interfaces.target" ];
       serviceConfig = {
-	ExecStart = ''
-	  ${pkgs.mesos}/bin/mesos-master \
-	    --port=${toString cfg.port} \
-	    --zk=${cfg.zk} \
-	    ${if cfg.quorum == 0 then "--registry=in_memory" else "--registry=replicated_log --quorum=${toString cfg.quorum}"} \
-	    --work_dir=${cfg.workDir} \
-	    --logging_level=${cfg.logLevel} \
-	    ${toString cfg.extraCmdLineOptions}
-	'';
-	Restart = "on-failure";
-	PermissionsStartOnly = true;
+        ExecStart = ''
+          ${pkgs.mesos}/bin/mesos-master \
+            --port=${toString cfg.port} \
+            --zk=${cfg.zk} \
+            ${if cfg.quorum == 0 then "--registry=in_memory" else "--registry=replicated_log --quorum=${toString cfg.quorum}"} \
+            --work_dir=${cfg.workDir} \
+            --logging_level=${cfg.logLevel} \
+            ${toString cfg.extraCmdLineOptions}
+        '';
+        Restart = "on-failure";
+        PermissionsStartOnly = true;
       };
       preStart = ''
-	mkdir -m 0700 -p ${cfg.workDir}
+        mkdir -m 0700 -p ${cfg.workDir}
       '';
     };
   };