I am trying to verify that .NET 4.5 is installed on an agent. I use a puppet chocolate supplier:
package { 'DotNet4.5':
ensure => installed,
provider => 'chocolatey',
}
However, every time I run it, the log shows 1 change:
Note: / Stage [main] // Node [mymachine1234] / Package [DotNet4.5] / ensure: created
Although .NET 4.5 is installed, it still reports that 1 change has occurred, as shown above.
I also tried the value 4.5instead installedin the definition above, but no matter what I apply, it reports a change of 1.
In contrast, when I use the same thing to install Node.js, it works fine and does not report changes every time.
I am open to any other way to ensure a .NET 4.5 installation.