blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Silence output of fact if nothing is done about it #91

Closed kronn closed 4 years ago

kronn commented 11 years ago

Foreman - if used as a dashboard - interprets the notice as an action, thereby marking every puppet run as "something has been changed on the system".

I moved the notify inside the conditional so it gets executed if the user wants a specific version. The fact can still be queried through facter and gets syncronised into foreman.