falkorlib 0.4.7 → 0.4.8
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,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24f2e16454b28d1ca83d3df97e64a245b1b0c01e
|
4
|
+
data.tar.gz: 2a4c42fc9214770ad2cf683adc8251f2ff8e4cbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4ddf35ca1812050bdfa24c526adf855d32fe27dd2132ea9db044004a1a5463fa2726df6c18580c5d23715b6e8ca2f8ae993f18bd2cdf67cb98ab1b720a0357
|
7
|
+
data.tar.gz: dbe16737008ea26ac775fa79dc8100400dca0a659d4431808c60cce0b43705bb09e48b5d8ba9b82fb802431c2a133a70124f1c71772b2819734b509fd384593a
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
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
|
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)
|
data/lib/falkorlib/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#########################################
|
3
3
|
# puppet_modules_spec.rb
|
4
4
|
# @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
|
5
|
-
# Time-stamp: <
|
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", "
|
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
|
-
#
|
9
|
-
#
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
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
|
+
|
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.
|
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-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|