File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
cookbooks/aws-parallelcluster-awsbatch/test/controls Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 99# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010# See the License for the specific language governing permissions and limitations under the License.
1111
12- python_version = '3.12.8'
1312base_dir = "/opt/parallelcluster"
1413pyenv_dir = "#{ base_dir } /pyenv"
1514
1615control 'tag:install_awsbatch_virtualenv_created' do
17- title "awsbatch virtualenv should be created on #{ python_version } "
16+ title "awsbatch virtualenv should be created on #{ node [ 'cluster' ] [ 'python-version' ] } "
1817 only_if { !os_properties . redhat? }
1918
20- describe directory ( "#{ pyenv_dir } /versions/#{ python_version } /envs/awsbatch_virtualenv" ) do
19+ describe directory ( "#{ pyenv_dir } /versions/#{ node [ 'cluster' ] [ 'python-version' ] } /envs/awsbatch_virtualenv" ) do
2120 it { should exist }
2221 its ( 'mode' ) { should cmp '0755' }
2322 its ( 'owner' ) { should eq 'root' }
You can’t perform that action at this time.
0 commit comments