change from notrun to 0 failed: /usr/bin/apt-key: 8: /usr/bin/apt-key: mktemp: not found
Based on the instructions here on their website, my resource is as follows:
exec { 'add-stackdriver-key':
command => 'curl --silent https://www.stackdriver.com/RPM-GPG-KEY-stackdriver | apt-key add - && /usr/bin/apt-get update',
path => '/usr/bin',
require => Apt::Source['stackdriver'],
}
curl --silent https://www.stackdriver.com/RPM-GPG-KEY-stackdriver | apt-key add -
/usr/bin/apt-get update
mktemp exists under /bin and /bin is in PATH so I don't understand why it throws an error.
Poking around Google, I see someone came across the same problem but nobody gave an answer:
Your code there says path is just /usr/bin so you need to add /bin
Your os user paths are not relevant
Neil
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.