From a77c040e7792725e015779677ae5e9aa840938fb Mon Sep 17 00:00:00 2001 From: fnoop Date: Mon, 23 Oct 2017 23:45:06 +0100 Subject: [PATCH] Add dirmngr as apt-key dependency, #574 --- manifests/maverick-modules/maverick_ros/manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/maverick-modules/maverick_ros/manifests/init.pp b/manifests/maverick-modules/maverick_ros/manifests/init.pp index 8d2aacbf..d5f0729c 100644 --- a/manifests/maverick-modules/maverick_ros/manifests/init.pp +++ b/manifests/maverick-modules/maverick_ros/manifests/init.pp @@ -51,6 +51,7 @@ } if $installtype { + ensure_packages(["dirmngr"]) # Create symlink to usual vendor install directory file { ["/opt", "/opt/ros"]: ensure => directory, @@ -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',