Skip to content

Commit 262aa7b

Browse files
committed
ubuntu install packages
1 parent a362060 commit 262aa7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_ubuntu22.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

15-
provides :install_packages, platform: 'ubuntu', platform_version: '22.04'
15+
provides :install_packages, platform: 'ubuntu' do |node|
16+
node['platform_version'].to_i >= 22
17+
end
1618
unified_mode true
1719
default_action :setup
1820

0 commit comments

Comments
 (0)