puppet: Remove redundant ruby-augeas dependency
This commit is contained in:
parent
7bf6100e83
commit
b647a80254
2 changed files with 0 additions and 38 deletions
|
@ -30,8 +30,6 @@ class puppet::client {
|
||||||
default: { $vardir = "/var/lib/puppet" }
|
default: { $vardir = "/var/lib/puppet" }
|
||||||
}
|
}
|
||||||
|
|
||||||
require ruby::augeas
|
|
||||||
|
|
||||||
file { "/etc/puppet/puppet.conf":
|
file { "/etc/puppet/puppet.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template("puppet/puppet.conf.erb"),
|
content => template("puppet/puppet.conf.erb"),
|
||||||
|
|
|
@ -57,42 +57,6 @@ class ruby::activerecord {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Install ruby-augeas.
|
|
||||||
#
|
|
||||||
class ruby::augeas {
|
|
||||||
|
|
||||||
case $::operatingsystem {
|
|
||||||
"openbsd": {
|
|
||||||
if versioncmp($::operatingsystemrelease, "5.6") >= 0 {
|
|
||||||
$package = "ruby20-augeas"
|
|
||||||
} elsif versioncmp($::operatingsystemrelease, "5.4") >= 0 {
|
|
||||||
$package = "ruby19-augeas"
|
|
||||||
} else {
|
|
||||||
$package = undef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
"ubuntu": {
|
|
||||||
if versioncmp($::operatingsystemrelease, "13.10") >= 0 {
|
|
||||||
$package = "ruby-augeas"
|
|
||||||
} else {
|
|
||||||
$package = "libaugeas-ruby"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
$package = "ruby-augeas"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if $package {
|
|
||||||
package { "ruby-augeas":
|
|
||||||
ensure => installed,
|
|
||||||
name => $package,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Install mysql ruby bindings.
|
# Install mysql ruby bindings.
|
||||||
#
|
#
|
||||||
class ruby::mysql {
|
class ruby::mysql {
|
||||||
|
|
Loading…
Add table
Reference in a new issue