Add ensures

This commit is contained in:
Antonio J. Delgado 2024-04-18 22:40:21 +03:00
parent 4ba0133165
commit aedc5d205d

View file

@ -212,6 +212,7 @@ class mastodon (
require => Group[$mastodon_group], require => Group[$mastodon_group],
} }
vcsrepo { 'rbenv': vcsrepo { 'rbenv':
ensure => $ensure,
path => "${mastodon_home}/.rbenv", path => "${mastodon_home}/.rbenv",
source => 'https://github.com/rbenv/rbenv.git', source => 'https://github.com/rbenv/rbenv.git',
provider => 'git', provider => 'git',
@ -247,6 +248,7 @@ class mastodon (
require => Vcsrepo['rbenv'], require => Vcsrepo['rbenv'],
} }
vcsrepo { 'ruby_build': vcsrepo { 'ruby_build':
ensure => $ensure,
path => "${mastodon_home}/.rbenv/plugins/ruby-build", path => "${mastodon_home}/.rbenv/plugins/ruby-build",
source => 'https://github.com/rbenv/ruby-build.git', source => 'https://github.com/rbenv/ruby-build.git',
provider => 'git', provider => 'git',