Sha256: 3647ce3252e5976801c831ed5d38123ecbe9a8a9ddfadd21aa9251e6d178bc6f
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
module VagrantPlugins module LibrarianPuppet class Config < Vagrant.plugin(2, :config) attr_accessor :librarian_dir def initialize @librarian_dir = UNSET_VALUE end def finalize! @librarian_dir = "." if @librarian_dir == UNSET_VALUE end def puppetfile_path @puppetfile_path ||= @librarian_dir ? File.join(@librarian_dir, 'Puppetfile') : 'Puppetfile' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-librarian-puppet-plugin-0.1.1 | lib/vagrant-librarian-puppet-plugin/config.rb |