File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111# Sample Usage:
1212#
1313#
14- #
15- define datadog_agent::ubuntu::install_key () {
16- exec { "key ${name}" :
17- command => " /usr/bin/apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ${name} " ,
18- unless => " /usr/bin/apt-key list | grep ${name} | grep expires" ,
19- }
20- }
2114
2215class datadog_agent::ubuntu (
2316 $apt_key = ' 382E94DE' ,
Original file line number Diff line number Diff line change 1+ # Resource type: datadog_agent::ubuntu::install_key
2+ #
3+ # This resource type install repository keys in Ubuntu
4+ #
5+ # Parameters:
6+ #
7+ # Actions:
8+ #
9+ # Requires:
10+ #
11+ # Sample Usage:
12+ #
13+ #
14+ #
15+ define datadog_agent::ubuntu::install_key () {
16+ exec { "key ${name}" :
17+ command => " /usr/bin/apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ${name} " ,
18+ unless => " /usr/bin/apt-key list | grep ${name} | grep expires" ,
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments