Commit b2061f9
authored
Only declare the Agent package if not already declared (DataDog#672)
We need the Agent package to be declared even when we don't install it,
since there's code that depends on it. Our current approach is to always
declare it, which works if the package is installed by something other than
Puppet (eg: chocolatey), since our declaration would not try to install it
again and the code that depends on that declaration would still be happy.
However, in case the package is being installed by a different Puppet
module, it would fail with a Duplicate declaration error.1 parent f9fb91f commit b2061f9
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
454 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
455 | 457 | | |
456 | 458 | | |
457 | 459 | | |
| |||
0 commit comments