Notifications
Clear all
Questions and Discussions
2
Posts
1
Users
0
Likes
851
Views
Topic starter
27/06/2020 2:46 am
In some cases we need package to be installed at particular version and dont want it to be upgraded on the machine without proper plan but still our repository is pointing to latest fetch. How can we use puppet to avoid its up gradation?
Topic starter
27/06/2020 2:53 am
There are two possible solution which are coming across my mind.
1.) Use ensure => installed as part of resource type package and it will be installed once during the first deployment and will not upgrade it till any goes and manual remove the package.
2.) Fix the package version - Try to fix the package version in repository and make sure instead of pointing to latest you are always comparing it to fixed version number and when you are ready with new version install just change the package number.