falkorlib 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c16f92e51d6e2d7c1c57fa6a021b750d144a21a
4
- data.tar.gz: 23c9dc35a39ea003770ea06898d40dc9fcfd7636
3
+ metadata.gz: 24f2e16454b28d1ca83d3df97e64a245b1b0c01e
4
+ data.tar.gz: 2a4c42fc9214770ad2cf683adc8251f2ff8e4cbd
5
5
  SHA512:
6
- metadata.gz: 88b479ad8371dfab0c4a30a0165e6f08ac92bee7ed79a0f2995c8f9a3e5395297983a90eb22798d3e17890cf0f9d6e9af4ed6461eda26851375af3a948882139
7
- data.tar.gz: f2aeefd6c5172413a1043cb68a7e318691196fcd61d21aeb8231fd9996b34faf871700c5f93ca12993eecc04ec12bd3bfd2e148037a3740f5e0c144ceed82804
6
+ metadata.gz: 0d4ddf35ca1812050bdfa24c526adf855d32fe27dd2132ea9db044004a1a5463fa2726df6c18580c5d23715b6e8ca2f8ae993f18bd2cdf67cb98ab1b720a0357
7
+ data.tar.gz: dbe16737008ea26ac775fa79dc8100400dca0a659d4431808c60cce0b43705bb09e48b5d8ba9b82fb802431c2a133a70124f1c71772b2819734b509fd384593a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.4.7)
4
+ falkorlib (0.4.8)
5
5
  artii (>= 2.1)
6
6
  awesome_print (~> 1.2)
7
7
  configatron (~> 3.2)
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Thu 2015-05-07 18:14 svarrette>
3
+ # Time-stamp: <Fri 2015-05-08 11:21 svarrette>
4
4
  ################################################################################
5
5
  # Interface for the main Puppet Module operations
6
6
  #
@@ -42,8 +42,7 @@ module FalkorLib #:nodoc:
42
42
  "GPL-3.0",
43
43
  "LGPL-2.1",
44
44
  "LGPL-3.0",
45
- "MIT",
46
- "Mozilla-2.0"
45
+ "MIT"
47
46
  ]
48
47
  }
49
48
  end
@@ -121,7 +120,7 @@ module FalkorLib #:nodoc:
121
120
  license = select_from(list_license,
122
121
  'Select the license index for the Puppet module:',
123
122
  idx.nil? ? 1 : idx + 1)
124
- config[:license] = license.downcase unless license.empty?
123
+ config[:license] = license unless license.empty?
125
124
  puts "\t" + sprintf("%-20s", "Module License:") + config[:license]
126
125
 
127
126
  # Supported platforms
@@ -149,7 +148,7 @@ module FalkorLib #:nodoc:
149
148
  info "Generating the License file"
150
149
  authors = config[:author].empty? ? 'UNKNOWN' : config[:author]
151
150
  Dir.chdir(moduledir) do
152
- run %{ licgen #{config[:license]} #{authors} }
151
+ run %{ licgen #{config[:license].downcase} #{authors} }
153
152
  end
154
153
  info "Initialize RVM"
155
154
  init_rvm(moduledir)
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
19
19
  # MAJOR: Defines the major version
20
20
  # MINOR: Defines the minor version
21
21
  # PATCH: Defines the patch version
22
- MAJOR, MINOR, PATCH = 0, 4, 7
22
+ MAJOR, MINOR, PATCH = 0, 4, 8
23
23
 
24
24
  module_function
25
25
 
@@ -2,7 +2,7 @@
2
2
  #########################################
3
3
  # puppet_modules_spec.rb
4
4
  # @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
5
- # Time-stamp: <Ven 2014-12-05 22:56 svarrette>
5
+ # Time-stamp: <Fri 2015-05-08 11:23 svarrette>
6
6
  #
7
7
  # @description Check the Puppet Modules operations
8
8
  #
@@ -142,7 +142,7 @@ describe FalkorLib::Puppet::Modules do
142
142
  diff = (metadata.to_a - ref.to_a).flatten
143
143
  diff.should == [
144
144
  'dependencies',
145
- {"name"=>"puppetlabs-stdlib", "version_range"=>">= 1.0.0"},
145
+ {"name"=>"puppetlabs-stdlib", "version_requirement"=>">=4.2.2 <5.0.0"},
146
146
  {"name"=>"svarrette/tata", "version_requirement"=>"1.2"}
147
147
  ]
148
148
  end
@@ -5,67 +5,45 @@
5
5
  VAGRANTFILE_API_VERSION = "2"
6
6
 
7
7
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
- # All Vagrant configuration is done here. The most common configuration
9
- # options are documented and commented below. For a complete reference,
10
- # please see the online documentation at vagrantup.com.
11
-
12
- # Every Vagrant virtual environment requires a box to build off of.
13
- config.vm.box = "debian-7.6.0-amd64"
14
-
15
- # Disable automatic box update checking. If you disable this, then
16
- # boxes will only be checked for updates when the user runs
17
- # `vagrant box outdated`. This is not recommended.
18
- # config.vm.box_check_update = false
19
-
20
- # Create a forwarded port mapping which allows access to a specific port
21
- # within the machine from a port on the host machine. In the example below,
22
- # accessing "localhost:8080" will access port 80 on the guest machine.
23
- # config.vm.network "forwarded_port", guest: 80, host: 8080
24
-
25
- # Create a private network, which allows host-only access to the machine
26
- # using a specific IP.
27
- # config.vm.network "private_network", ip: "192.168.33.10"
28
-
29
- # Create a public network, which generally matched to bridged network.
30
- # Bridged networks make the machine appear as another physical device on
31
- # your network.
32
- # config.vm.network "public_network"
33
-
34
- # If true, then any SSH connections made will enable agent forwarding.
35
- # Default value: false
36
- # config.ssh.forward_agent = true
37
-
38
- # Share an additional folder to the guest VM. The first argument is
39
- # the path on the host to the actual folder. The second argument is
40
- # the path on the guest to mount the folder. And the optional third
41
- # argument is a set of non-required options.
42
- # config.vm.synced_folder "../data", "/vagrant_data"
43
-
44
- # Provider-specific configuration so you can fine-tune various
45
- # backing providers for Vagrant. These expose provider-specific options.
46
- # Example for VirtualBox:
47
- #
48
- # config.vm.provider "virtualbox" do |vb|
49
- # # Don't boot with headless mode
50
- # vb.gui = true
51
- #
52
- # # Use VBoxManage to customize the VM. For example to change memory:
53
- # vb.customize ["modifyvm", :id, "--memory", "1024"]
54
- # end
55
- #
56
- # View the documentation for the provider you're using for more
57
- # information on available options.
58
-
59
- # Enable provisioning with Puppet stand alone. Puppet manifests
60
- # are contained in a directory path relative to this Vagrantfile.
61
- # You will need to create the manifests directory and a manifest in
62
- # the file default.pp in the manifests_path directory.
63
- #
64
- # config.vm.provision "puppet" do |puppet|
65
- # puppet.manifests_path = "manifests"
66
- # puppet.manifest_file = "site.pp"
67
- # end
68
-
69
- # Enable provisioning with shell scripts
70
- config.vm.provision "shell", path: ".vagrant_init.rb"
8
+ # Inspired by [puppet-playground](https://github.com/example42/puppet-playground/blob/master/Vagrantfile)
9
+ #config.cache.auto_detect = true
10
+
11
+ # (nearly) All below boxes were generated using [vagrant-vms](https://github.com/Falkor/vagrant-vms/)
12
+ {
13
+ :centos_7 => {
14
+ :box => "svarrette/centos-7",
15
+ :url => "https://atlas.hashicorp.com/svarrette/boxes/centos-7"
16
+ },
17
+ :debian_7 => {
18
+ :box => "svarrette/debian-7-puppet",
19
+ :url => "https://atlas.hashicorp.com/svarrette/debian-7-puppet",
20
+ :primary => true
21
+ }
22
+ }.each do |name,cfg|
23
+ boxname = name.to_s.downcase.gsub(/_/, '-')
24
+ config.vm.define boxname do |local|
25
+ local.vm.primary = true if cfg[:primary]
26
+ local.vm.box = cfg[:box]
27
+ local.vm.host_name = ENV['VAGRANT_HOSTNAME'] || name.to_s.downcase.gsub(/_/, '-').concat(".vagrant.com")
28
+ local.vm.provision "shell", path: ".vagrant_init.rb"
29
+ # local.vm.provision :puppet do |puppet|
30
+ # puppet.hiera_config_path = 'data/hiera.yaml'
31
+ # puppet.working_directory = '/vagrant'
32
+ # puppet.manifests_path = "manifests"
33
+ # puppet.module_path = "modules"
34
+ # puppet.manifest_file = "init.pp"
35
+ # puppet.options = [
36
+ # '--verbose',
37
+ # '--report',
38
+ # '--show_diff',
39
+ # '--pluginsync',
40
+ # '--summarize',
41
+ # # '--evaltrace',
42
+ # # '--debug',
43
+ # # '--parser future',
44
+ # ]
45
+ # end
46
+ end
47
+ end
71
48
  end
49
+
@@ -13,7 +13,7 @@
13
13
  "dependencies": [
14
14
  {
15
15
  "name": "puppetlabs-stdlib",
16
- "version_range": ">= 1.0.0"
16
+ "version_requirement": ">=4.2.2 <5.0.0"
17
17
  }
18
18
  ],
19
19
  "operatingsystem_support": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falkorlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake