spotify: Initial version of module.

This commit is contained in:
Timo Makinen 2016-06-09 12:01:03 +03:00
parent 9269ca7501
commit 205d781530

21
spotify/manifests/init.pp Normal file
View file

@ -0,0 +1,21 @@
# Install Spotify
#
class spotify {
if $::operatingsystem != "Fedora" {
fail("spotify not supported in ${::operatingsystem}")
}
yum::repo { "spotify":
descr => "Spotify digital music service",
baseurl => "http://negativo17.org/repos/spotify/fedora-\$releasever/\$ba
search/",
gpgkey => "http://negativo17.org/repos/RPM-GPG-KEY-slaanesh",
}
package { "spotify-client":
ensure => installed,
require => Yum::Repo["spotify"],
}
}