spotify: Initial version of module.
This commit is contained in:
parent
9269ca7501
commit
205d781530
1 changed files with 21 additions and 0 deletions
21
spotify/manifests/init.pp
Normal file
21
spotify/manifests/init.pp
Normal 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"],
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue