How to make sure we...
 
Notifications
Clear all

How to make sure we have package install using puppet only once and it doesn't upgrade the package ?

2 Posts
1 Users
0 Likes
601 Views
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 4 years ago
Posts: 65
Topic starter  

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?


   
Quote
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 4 years ago
Posts: 65
Topic starter  

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.

 


   
ReplyQuote
Share: