Browse Source

Refactored field names

Alois Mahdal (@azzgoat) 11 years ago
parent
commit
ffe5432fb4
3 changed files with 10 additions and 10 deletions
  1. 2
    2
      lib/SugarTrail/Template/Master.pm
  2. 2
    2
      notes/arch.md
  3. 6
    6
      notes/matrices.md

+ 2
- 2
lib/SugarTrail/Template/Master.pm View File

98
             if ($accept || scalar @{$slave_step->{warnings}});
98
             if ($accept || scalar @{$slave_step->{warnings}});
99
     }
99
     }
100
 
100
 
101
-    $slave->{meta}->{'Stm'} = $self->{source};
102
-    $slave->{meta}->{'Stm Revision'} = $self->get_current_revision();
101
+    $slave->{meta}->{'Master'} = $self->{source};
102
+    $slave->{meta}->{'Master Revision'} = $self->get_current_revision();
103
     $slave->{meta}->{'Params'} = mkmymime($args);
103
     $slave->{meta}->{'Params'} = mkmymime($args);
104
 
104
 
105
     $slave->{steps} = \@slave_steps;
105
     $slave->{steps} = \@slave_steps;

+ 2
- 2
notes/arch.md View File

75
         +---------------------------------------+
75
         +---------------------------------------+
76
         | ::Slave # Slave template              |
76
         | ::Slave # Slave template              |
77
         +---------------------------------------+
77
         +---------------------------------------+
78
-        | Stm: /release/rc.stm                  |
79
-        | Stm Revision: 123                     |
78
+        | Master: /release/rc.stm               |
79
+        | Master Revision: 123                  |
80
         | Params: os=7; proto=imap              |
80
         | Params: os=7; proto=imap              |
81
         |                                       |
81
         |                                       |
82
         | Here the body starts...               |
82
         | Here the body starts...               |

+ 6
- 6
notes/matrices.md View File

32
 
32
 
33
 The above can result in two Slaves:
33
 The above can result in two Slaves:
34
 
34
 
35
-    Stm: /release/rc.stm
36
-    Stm Revision: 123
35
+    Master: /release/rc.stm
36
+    Master Revision: 123
37
     Params: arch=amd64
37
     Params: arch=amd64
38
     
38
     
39
     # Parallel showcase #
39
     # Parallel showcase #
49
     5. Restart
49
     5. Restart
50
 
50
 
51
 
51
 
52
-    Stm: /release/rc.stm
53
-    Stm Revision: 123
52
+    Master: /release/rc.stm
53
+    Master Revision: 123
54
     Params: arch=x86
54
     Params: arch=x86
55
     
55
     
56
     # Parallel showcase #
56
     # Parallel showcase #
67
 
67
 
68
 Or one "double" Slave -- notice `Params:` header:
68
 Or one "double" Slave -- notice `Params:` header:
69
 
69
 
70
-    Stm: /release/rc.stm
71
-    Stm Revision: 123
70
+    Master: /release/rc.stm
71
+    Master Revision: 123
72
     Params: arch=x86+amd64
72
     Params: arch=x86+amd64
73
     
73
     
74
     # Parallel showcase #
74
     # Parallel showcase #