From 1c83e214206ec50f2543fb9e5226088a2af1016f Mon Sep 17 00:00:00 2001 From: Kenyon Ralph Date: Fri, 13 Mar 2026 15:21:11 -0700 Subject: [PATCH 1/2] GitHub workflows: use latest stable ruby-version --- .github/workflows/main.yml | 6 +++--- .github/workflows/update.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bbcf569..fc6ff519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: - name: Setup ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: ruby bundler-cache: true - name: Run msync --noop run: bundle exec msync update --noop --git-base=https://github.com/ --branch foobranch @@ -31,7 +31,7 @@ jobs: - name: Setup ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: ruby bundler-cache: true - name: Run msync --noop run: bundle exec msync clone --git-base=https://github.com/ @@ -44,7 +44,7 @@ jobs: - name: Setup ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: ruby bundler-cache: true - name: Run msync --noop run: bundle exec msync clone --git-base=https://github.com/ diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index f00f20a5..f02235f1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -40,7 +40,7 @@ jobs: - name: Setup ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.4 + ruby-version: ruby bundler-cache: true - name: Add SSH key run: | From 765db424d20ffc185c1704a9cd711783317292b2 Mon Sep 17 00:00:00 2001 From: Kenyon Ralph Date: Fri, 13 Mar 2026 15:36:59 -0700 Subject: [PATCH 2/2] outdated_modules_and_their_version: use File.exist? instead of File.exists? --- bin/outdated_modules_and_their_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/outdated_modules_and_their_version b/bin/outdated_modules_and_their_version index 672d9051..15dacf9a 100755 --- a/bin/outdated_modules_and_their_version +++ b/bin/outdated_modules_and_their_version @@ -12,7 +12,7 @@ width_modules = 6 # min width is width of String "modulesync_config version" width_version = 25 Dir.glob('modules/voxpupuli/puppet-*').sort.each do |f| - if File.exists?(f + '/.msync.yml') + if File.exist?(f + '/.msync.yml') version_module = YAML.load_file(f + '/.msync.yml')['modulesync_config_version'] mod = (f).split('/')[2] if version != version_module