"/etc/apt/trusted-keys.d/":
ensure => directory,
purge => true,
- notify => Exec["updatekeys"],
+ notify => Exec["apt-keys-update"],
;
"/etc/apt/trusted-keys.d/db.debian.org.asc":
source => "puppet:///apt-keys/db.debian.org.asc",
mode => 664,
- notify => Exec["updatekeys"],
+ notify => Exec["apt-keys-update"],
;
}
- exec { "updatekeys":
+ exec { "apt-keys-update":
command => 'for keyfile in /etc/apt/trusted-keys.d/*; do apt-key add $keyfile; done',
refreshonly => true
}
"/etc/apt/trusted-keys.d/buildd.debian.org.asc":
source => "puppet:///buildd/buildd.debian.org.asc",
mode => 664,
- notify => Exec["updatekeys"],
+ notify => Exec["apt-keys-update"],
;
}
}