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
#!/usr/bin/env ruby | |
require 'watir-webdriver' | |
def log (message) puts " #{message}" end | |
def success (message) puts "+ #{message}" end | |
def fail (message) puts "- #{message}" end | |
def notify (message) | |
success message.upcase | |
system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message | |
rescue StandardError => e |
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
zypper addrepo https://download.opensuse.org/repositories/home:/kahowell/SLE_12_SP1/home:kahowell.repo | |
zypper addrepo https://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.7/SLE_12_SP3/systemsmanagement:spacewalk:2.7.repo | |
zypper install subscription-manager |