lib/librarian/puppet/environment.rb in librarian-puppet-1.5.0 vs lib/librarian/puppet/environment.rb in librarian-puppet-2.0.0
- old
+ new
@@ -1,23 +1,15 @@
require "librarian/environment"
require "librarian/puppet/dsl"
require "librarian/puppet/source"
-require "librarian/puppet/lockfile"
+require "librarian/puppet/lockfile/parser"
module Librarian
module Puppet
class Environment < Librarian::Environment
def adapter_name
"puppet"
- end
-
- def lockfile
- Lockfile.new(self, lockfile_path)
- end
-
- def ephemeral_lockfile
- Lockfile.new(self, nil)
end
def tmp_path
part = config_db["tmp"] || ".tmp"
project_path.join(part)