{"action":"closed","issue":{"url":"https://api.github.com/repos/jordansissel/pleaserun/issues/51","labels_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/51/comments","events_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/51/events","html_url":"https://github.com/jordansissel/pleaserun/issues/51","id":35697289,"number":51,"title":"Does not detect OpenSUSE 13.1","user":{"login":"evaryont","id":14547,"avatar_url":"https://avatars.githubusercontent.com/u/14547?v=3","gravatar_id":"","url":"https://api.github.com/users/evaryont","html_url":"https://github.com/evaryont","followers_url":"https://api.github.com/users/evaryont/followers","following_url":"https://api.github.com/users/evaryont/following{/other_user}","gists_url":"https://api.github.com/users/evaryont/gists{/gist_id}","starred_url":"https://api.github.com/users/evaryont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evaryont/subscriptions","organizations_url":"https://api.github.com/users/evaryont/orgs","repos_url":"https://api.github.com/users/evaryont/repos","events_url":"https://api.github.com/users/evaryont/events{/privacy}","received_events_url":"https://api.github.com/users/evaryont/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-13T18:50:08Z","updated_at":"2015-04-30T23:43:38Z","closed_at":"2015-04-30T23:43:38Z","body":"Running `pleaserun /usr/bin/screen` (to test & play with pleaserun) nets me:\r\n\r\n```\r\n/home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/pleaserun-0.0.7/lib/pleaserun/detector.rb:44:in `detect': PleaseRun::Detector::UnknownSystem (PleaseRun::Detector::UnknownSystem)\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/pleaserun-0.0.7/lib/pleaserun/cli.rb:139:in `setup_defaults'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/pleaserun-0.0.7/lib/pleaserun/cli.rb:106:in `execute'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/clamp-0.6.3/lib/clamp/command.rb:67:in `run'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/clamp-0.6.3/lib/clamp/command.rb:125:in `run'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/lib64/ruby/gems/2.1.0/gems/pleaserun-0.0.7/bin/pleaserun:7:in `<top (required)>'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/bin/pleaserun:23:in `load'\r\n        from /home/colin/dotfiles/share/rbenv/versions/2.1.2/bin/pleaserun:23:in `<main>'\r\n```\r\n\r\nAs of version 13.1, OpenSUSE uses systemd. Versions 12 and earlier use LSB init scripts. (13 still does, actually. Haven't fully migrated to systemd.)\r\n\r\nOh, and here's the ohai & facter information for my system:\r\n\r\nohai[\"platform\"] #=> \"opensuse\"\r\nohai[\"platform_version\"] #=> \"13.1\"\r\nFacter[\"operatingsystem\"].value #=> \"OpenSuSE\"\r\nFacter[\"operatingsystemrelease\"].value #=> \"13.1\"\r\n\r\nThus, I think the following additions to `PleaseRun::Detector::MAPPING` would suffice:\r\n```ruby\r\n[\"opensuse\", \"13\"] => [\"systemd\", \"default\"]\r\n[\"opensuse\", \"12\"] => [\"sysv\", \"lsb-3.1\"]\r\n```"}}