File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
legacy_agents = agents . reject { |agent | agent == master }
5
5
6
6
step "Check that legacy agents have Puppet 4.x installed"
7
- on ( legacy_agents , puppet ( "--version" ) ) do
8
- assert_match ( /\A 4\. / , stdout , "puppet --version does not start with major version 4." )
7
+ on ( legacy_agents , puppet ( "--version" ) ) do | result |
8
+ assert_match ( /\A 4\. / , result . stdout , "puppet --version does not start with major version 4." )
9
9
end
10
10
11
11
step "Check that Puppet Server has Puppet 6.x installed"
12
- on ( master , puppet ( "--version" ) ) do
13
- assert_match ( /\A 6/ , stdout , "puppet --version does not start with major version 6.x" )
12
+ on ( master , puppet ( "--version" ) ) do | result |
13
+ assert_match ( /\A 6/ , result . stdout , "puppet --version does not start with major version 6.x" )
14
14
end
15
15
16
16
step "Check that the agent on the master runs against the master"
Original file line number Diff line number Diff line change 4
4
legacy_agents = agents . reject { |agent | agent == master }
5
5
6
6
step "Check that legacy agents have Puppet 5.x installed"
7
- on ( legacy_agents , puppet ( "--version" ) ) do
8
- assert_match ( /\A 5\. / , stdout , "puppet --version does not start with major version 5." )
7
+ on ( legacy_agents , puppet ( "--version" ) ) do | result |
8
+ assert_match ( /\A 5\. / , result . stdout , "puppet --version does not start with major version 5." )
9
9
end
10
10
11
11
step "Check that Puppet Server has Puppet 8.x installed"
12
- on ( master , puppet ( "--version" ) ) do
13
- assert_match ( /\A 8/ , stdout , "puppet --version does not start with major version 8.x" )
12
+ on ( master , puppet ( "--version" ) ) do | result |
13
+ assert_match ( /\A 8/ , result . stdout , "puppet --version does not start with major version 8.x" )
14
14
end
15
15
16
16
step "Check that the agent on the master runs against the master"
You can’t perform that action at this time.
0 commit comments