Skip to content

Commit

Permalink
Add dirmngr as apt-key dependency, #574
Browse files Browse the repository at this point in the history
  • Loading branch information
fnoop committed Oct 23, 2017
1 parent b63af00 commit a77c040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/maverick-modules/maverick_ros/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
}
if $installtype {
ensure_packages(["dirmngr"])
# Create symlink to usual vendor install directory
file { ["/opt", "/opt/ros"]:
ensure => directory,
Expand Down Expand Up @@ -78,6 +79,7 @@
exec { "ros-repo-key":
command => "/usr/bin/apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116",
unless => "/usr/bin/apt-key list |/bin/egrep 'B01F\s?A116'",
require => Package["dirmngr"],
} ->
exec { "ros-repo":
command => '/bin/echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list',
Expand Down

0 comments on commit a77c040

Please sign in to comment.