File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 33 'mirror' => 'http://packages.ros.org/ros2/ubuntu' ,
44 'distributions' => {
55 'jazzy' => {
6- 'packages' => [ 'ros-jazzy-desktop' , 'ros-jazzy-ros-gz' ]
7- }
8- }
6+ 'packages' => [ 'ros-jazzy-desktop' , 'ros-jazzy-ros-gz' ] ,
7+ } ,
8+ } ,
99 }
1010elsif node . ubuntu? && node [ 'platform_version' ] . start_with? ( '22' )
1111 default [ 'boxcutter_ros' ] = {
1212 'mirror' => 'http://packages.ros.org/ros2/ubuntu' ,
1313 'distributions' => {
1414 'humble' => {
15- 'packages' => [ 'ros-humble-desktop' , 'ros-humble-ros-gz' ]
16- }
17- }
15+ 'packages' => [ 'ros-humble-desktop' , 'ros-humble-ros-gz' ] ,
16+ } ,
17+ } ,
1818 }
1919elsif node . ubuntu? && node [ 'platform_version' ] . start_with? ( '20' )
2020 default [ 'boxcutter_ros' ] = {
2121 'mirror' => 'http://packages.ros.org/ros2/ubuntu' ,
2222 'distributions' => {
2323 'foxy' => {
24- 'packages' => [ 'ros-foxy-desktop' ]
25- }
26- }
24+ 'packages' => [ 'ros-foxy-desktop' ] ,
25+ } ,
26+ } ,
2727 }
2828else
2929 default [ 'boxcutter_ros' ] = {
3030 'mirror' => 'http://packages.ros.org/ros2/ubuntu' ,
31- 'distributions' => { }
31+ 'distributions' => { } ,
3232 }
3333end
Original file line number Diff line number Diff line change 9090 # Omit signed-by and use apt-key to import the key
9191 node . default [ 'fb_apt' ] [ 'repos' ] << "deb #{ node [ 'boxcutter_ros' ] [ 'mirror' ] } #{ node [ 'lsb' ] [ 'codename' ] } main"
9292when 'centos'
93- raise 'Unsupported platform'
93+ fail 'Unsupported platform'
9494end
Original file line number Diff line number Diff line change 1616# See the License for the specific language governing permissions and
1717# limitations under the License.
1818
19- node [ 'boxcutter_ros' ] [ 'distributions' ] . each do |distro_name , distro_config |
19+ node [ 'boxcutter_ros' ] [ 'distributions' ] . each do |_distro_name , distro_config |
2020 package distro_config [ 'packages' ]
2121end
Original file line number Diff line number Diff line change 8989 node . default [ 'fb_apt' ] [ 'repos' ] << \
9090 "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable #{ node [ 'lsb' ] [ 'codename' ] } main"
9191when 'centos'
92- raise 'Unsupported platform'
92+ fail 'Unsupported platform'
9393end
9494
9595package 'gz-harmonic' do
You can’t perform that action at this time.
0 commit comments