vagrant-librarian-puppet-plugin 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzM2YzVhZDk5N2Y4OWY4YjYwOTJlY2IxMTJjNWNlZmRiMmIyY2ExZA==
4
+ YzIzMDc3MmQ5ZWZlYTExYjA0YjczZWVkMTY1NjEwNTBkMzk1NTVjNw==
5
5
  data.tar.gz: !binary |-
6
- ZjY2Nzc5MzljNTg2N2FmMWUwNWE3ZDZiOGY4NzJkZjhmZjc5M2ViYQ==
6
+ ZDM5NjdmYzYwMDQxZjBmMDJhMWZhYTYyMjYzYzViOGZlYTcwZGYyZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGYwNzlhODdmOTdkYjE0ZjBmYmI5YjJjM2I4NmYwM2U1OGY3NGM4OTY0YmU0
10
- ZmQ0OTgyZDk1ZDVhNjhjODM5Y2E4NzA0NDg5MjRkZTNlYjA2MDU5MWNjZmI3
11
- OTM3NGYyYWU3ZTA1MGU5MTJiMmQxNWNkYTliZGVhYWEyYWNlOTA=
9
+ Y2QzZWVmMWVhZmNkNGEyMjZhZmEzNDM1MTEyMTMxYTIwODE0OTQ3MzcxMWEy
10
+ YzI4M2RhZjk5MjY0NmQ3NGNlNWE3YjA0MWQ4ZWI0NjNkZjg0ZDFlYzQ2NWIw
11
+ NmYwNTg2ODMyZTZhOTdiNmQzYTZkYTA4M2FmZmI2NDVkNTdkZjE=
12
12
  data.tar.gz: !binary |-
13
- YjRiZDA5OTUzZjNhZjEyMjk4MTVlMWRiMWIzZDFiYTM3Y2Q0YWVmN2VlMWM4
14
- Zjg0NDdlZTVlNjg3N2RhMmQ1NTZhMjc3NDEwNmJmZDM0OGUwZDY4Mjc0ZWNj
15
- ZDUyZWZjYzE5YjFkMDljY2MyMGQyMTY4MzljMTE4ODlmZDg0NmY=
13
+ MzUxODZhYjE3MDJiMGVkMTYwZjI5Y2RhYzJmNjM2MDU2OTJmZjg0MjE1NGNk
14
+ NGE1NzA1YTJjMmVmNTVkNDgzMTAzZjEwM2Y4ZmUwZTg3YTUxYTVmMzRiNTI2
15
+ NjY5MzNlNTE0NTI0MmEwYjc2YTVhNGNlOGEyMzA4YmQxNTAwNWQ=
@@ -2,16 +2,18 @@
2
2
  # -*- mode: ruby -*-
3
3
  # vi: set ft=ruby :
4
4
 
5
- Vagrant.require_plugin "vagrant-librarian-puppet-plugin"
5
+ Vagrant.require_plugin 'vagrant-librarian-puppet-plugin'
6
6
 
7
- Vagrant.configure("2") do |config|
8
- config.vm.box = "precise64"
9
- config.vm.box_url = "http://files.vagrantup.com/precise64.box"
7
+ Vagrant.configure('2') do |config|
8
+ config.vm.box = 'precise64'
9
+ config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
10
+
11
+ config.librarian_puppet.puppetfile_dir = 'puppet'
10
12
 
11
13
  config.vm.provision :puppet do |puppet|
12
- puppet.manifests_path = "manifests"
13
- puppet.manifest_file = "init.pp"
14
- puppet.module_path = "modules"
14
+ puppet.manifests_path = 'manifests'
15
+ puppet.manifest_file = 'init.pp'
16
+ puppet.module_path = 'puppet/modules'
15
17
  end
16
18
 
17
19
  end
@@ -20,7 +20,7 @@ module VagrantPlugins
20
20
 
21
21
  env[:ui].info "Installing Puppet modules with Librarian-Puppet..."
22
22
  environment = Librarian::Puppet::Environment.new({
23
- :project_path => File.join(env[:root_path], config.librarian_dir)
23
+ :project_path => File.join(env[:root_path], config.puppetfile_dir)
24
24
  })
25
25
  Librarian::Action::Ensure.new(environment).run
26
26
  Librarian::Action::Resolve.new(environment).run
@@ -1,18 +1,18 @@
1
1
  module VagrantPlugins
2
2
  module LibrarianPuppet
3
3
  class Config < Vagrant.plugin(2, :config)
4
- attr_accessor :librarian_dir
4
+ attr_accessor :puppetfile_dir
5
5
 
6
6
  def initialize
7
- @librarian_dir = UNSET_VALUE
7
+ @puppetfile_dir = UNSET_VALUE
8
8
  end
9
9
 
10
10
  def finalize!
11
- @librarian_dir = "." if @librarian_dir == UNSET_VALUE
11
+ @puppetfile_dir = '.' if @puppetfile_dir == UNSET_VALUE
12
12
  end
13
13
 
14
14
  def puppetfile_path
15
- @puppetfile_path ||= @librarian_dir ? File.join(@librarian_dir, 'Puppetfile') : 'Puppetfile'
15
+ @puppetfile_path ||= @puppetfile_dir ? File.join(@puppetfile_dir, 'Puppetfile') : 'Puppetfile'
16
16
  end
17
17
 
18
18
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module LibrarianPuppet
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-librarian-puppet-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hahn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-16 00:00:00.000000000 Z
11
+ date: 2013-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: librarian-puppet
@@ -104,7 +104,6 @@ files:
104
104
  - .gitignore
105
105
  - Gemfile
106
106
  - LICENSE.txt
107
- - Puppetfile
108
107
  - README.md
109
108
  - Rakefile
110
109
  - Vagrantfile
@@ -114,6 +113,7 @@ files:
114
113
  - lib/vagrant-librarian-puppet-plugin/plugin.rb
115
114
  - lib/vagrant-librarian-puppet-plugin/version.rb
116
115
  - manifests/init.pp
116
+ - puppet/Puppetfile
117
117
  - vagrant-librarian-puppet-plugin.gemspec
118
118
  homepage: https://github.com/mhahn/vagrant-librarian-puppet-plugin
119
119
  licenses: