Install and track the newest version of a package

Install a package if it's not present and track and upgrade the version if it is.

1

Votes

class screen {

  package { 'PACKAGE_NAME':
    ensure => 'latest',
  }

}

Vote Here

You must earn at least 1 vote on your snippets to be allowed to vote

Terms Of Use

Privacy Policy

Featured snippets are MIT license

Gears & Masters

Advertise

DevOpsnipp.com © 2020

medium.png