-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock Kafo version and install it directly without puppet-kafo
The puppet-kafo module is not used outside of this installer and is quite simplistic. Therefore move its code into kafo.pp into this installer. URL: #87 Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
notify { 'Installing Kafo': } | ||
notify { 'Installing Kafo and its dependencies': } | ||
|
||
class { '::kafo': | ||
gem_provider => 'puppet_gem', | ||
package { 'rubygems': | ||
ensure => 'present', | ||
} | ||
|
||
# We need to use a stable version of Highline module or kafo installers | ||
# won't work | ||
package { 'highline': | ||
ensure => '1.7.10', | ||
provider => 'puppet_gem', | ||
} | ||
|
||
package { 'kafo': | ||
ensure => '2.1.0', | ||
provider => 'puppet_gem', | ||
} | ||
|
||
$gems = [ 'rdoc', 'yard', 'puppet-strings', 'librarian-puppet' ] | ||
|
||
package { $gems: | ||
ensure => 'present', | ||
provider => 'puppet_gem', | ||
} |