Created
February 21, 2021 19:53
-
-
Save EugenMayer/71b53e10034bd5e38a6c8ce5dac7c939 to your computer and use it in GitHub Desktop.
lsb-release.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ohai 'lsb-ohai-releoad' do | |
plugin 'lsb' | |
action :nothing | |
end | |
log "pre lsb release name: #{node['lsb']['codename']}" do | |
level :error | |
end | |
package %w[lsb-release] do | |
action :install | |
notifies :reload, 'ohai[lsb-ohai-releoad]', :immediately | |
end | |
log "post lsb release name: #{node['lsb']['codename']}" do | |
level :error | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment