lib/r10k/environment/bare.rb in r10k-3.12.1 vs lib/r10k/environment/bare.rb in r10k-3.13.0
- old
+ new
@@ -1,14 +1,11 @@
-class R10K::Environment::Bare < R10K::Environment::WithModules
+class R10K::Environment::Bare < R10K::Environment::Plain
R10K::Environment.register(:bare, self)
- def sync
- path.mkpath
- end
-
- def status
- :not_applicable
+ def initialize(name, basedir, dirname, options = {})
+ logger.warn _('"bare" environment type is deprecated; please use "plain" instead (environment: %{name})') % {name: name}
+ super
end
def signature
'bare-default'
end