Skip to content

Instantly share code, notes, and snippets.

@Aslan
Created September 9, 2013 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aslan/6499797 to your computer and use it in GitHub Desktop.
Save Aslan/6499797 to your computer and use it in GitHub Desktop.
%w(rsyslog rsyslog-gnutls).each do |p|
package p do
action :install
options "--force-yes"
end
end
[2013-09-09T11:37:56-07:00] DEBUG: package[rsyslog] current version is 5.8.6-1ubuntu8.4
[2013-09-09T11:37:56-07:00] DEBUG: package[rsyslog] candidate version is 7.4.4-0adiscon1
[2013-09-09T11:37:56-07:00] DEBUG: package[rsyslog] is already installed - nothing to do!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment