File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11---
22name : Install and Prepare Bolt
3- description : " Helps with installing Bolt from the Puppet repository on Ubuntu distributions based on setting of OS_CODENAME environment variable ."
3+ description : " Helps with installing Bolt from the Puppet repository on Ubuntu distributions."
44
5- run :
5+ inputs :
6+ os-codename :
7+ description : The Ubuntu codename of the OS to install Bolt on.
8+ required : true
9+ type : string
10+
11+ runs :
612 using : " composite"
713 steps :
814 - name : Install Bolt
915 shell : bash
16+ env :
17+ OS_CODENAME : ${{ inputs.os-codename }}
1018 run : |-
1119 wget https://apt.puppet.com/puppet-tools-release-${OS_CODENAME}.deb
1220 sudo dpkg -i puppet-tools-release-${OS_CODENAME}.deb
Original file line number Diff line number Diff line change 3434 - uses : actions/checkout@v4
3535 - id : install-bolt
3636 uses : ./.github/actions/bolt
37- env :
38- OS_CODENAME : ${{ matrix.os-details.codename }}
37+ with :
38+ os-codename : ${{ matrix.os-details.codename }}
3939 - name : Run openvox-agent install task
4040 run : bolt task run openvox_bootstrap::install --targets localhost --run-as root
4141 - name : Verify openvox-agent is installed
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 - uses : actions/checkout@v4
2525 - id : install-bolt
2626 uses : ./.github/actions/bolt
27- env :
28- OS_CODENAME : ${{ matrix.os-details.codename }}
27+ with :
28+ os-codename : ${{ matrix.os-details.codename }}
2929 - name : Run openvox-agent install task
30- run : bolt task run openvox_bootstrap::install_build_artifacts version=8.15.0 --targets localhost --run-as root
30+ run : bolt task run openvox_bootstrap::install_build_artifact version=8.15.0 --targets localhost --run-as root
3131 - name : Verify openvox-agent is installed
3232 run : |-
3333 [[ "$(/opt/puppetlabs/bin/puppet --version)" = "8.15.0" ]]
You can’t perform that action at this time.
0 commit comments