falkorlib 0.5.5 → 0.5.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eba86657efa15410ce5eac1bd49205f78e958d7
|
4
|
+
data.tar.gz: 24c229e174aa8abe5c5675731b49b32fc3d4147a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17f1c879e7c84f17b98db8f61040a780a438a82838d9fa1e9b24ed84b7066f0f312d94178523021bab6612208e94ce4409d717ddb54e0cb9ad6c20c3002f1a4e
|
7
|
+
data.tar.gz: 1e74c3009789243a384893f7d9410594b81e46ada84340640600474b9fad7fe7ddc9e7a34732ea95a11bdb66b28d782b8f9f95eb8c30f0546641055069717127
|
data/Gemfile.lock
CHANGED
data/lib/falkorlib/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
##########################################################################
|
3
3
|
# vagrant_init.rb
|
4
4
|
# @author Sebastien Varrette <Sebastien.Varrette@uni.lu>
|
5
|
-
# Time-stamp: <
|
5
|
+
# Time-stamp: <Thu 2015-05-28 14:06 svarrette>
|
6
6
|
#
|
7
7
|
# @description
|
8
8
|
#
|
@@ -28,7 +28,8 @@ moduledir=modulepath.split(':').first
|
|
28
28
|
|
29
29
|
metadata["dependencies"].each do |dep|
|
30
30
|
lib = dep["name"]
|
31
|
-
|
31
|
+
shortname = lib.gsub(/^.*[\/-]/,'')
|
32
|
+
action = File.directory?("#{moduledir}/#{shortname}") ? 'upgrade' : 'install'
|
32
33
|
run %{ puppet module #{action} #{lib} }
|
33
34
|
end
|
34
35
|
|
@@ -25,6 +25,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
25
25
|
#local.vm.primary = true if cfg[:primary]
|
26
26
|
local.vm.box = cfg[:box]
|
27
27
|
local.vm.host_name = ENV['VAGRANT_HOSTNAME'] || name.to_s.downcase.gsub(/_/, '-').concat(".vagrant.com")
|
28
|
+
#config.vm.box_check_update = false
|
28
29
|
local.vm.provision "shell", path: ".vagrant_init.rb"
|
29
30
|
# local.vm.provision :puppet do |puppet|
|
30
31
|
# puppet.hiera_config_path = 'data/hiera.yaml'
|
@@ -30,25 +30,25 @@ class <%= config[:shortname] %>::params {
|
|
30
30
|
###########################################
|
31
31
|
|
32
32
|
# ensure the presence (or absence) of <%= config[:shortname] %>
|
33
|
-
$ensure =
|
33
|
+
$ensure = $::<%= config[:shortname] %>_ensure ? {
|
34
34
|
'' => 'present',
|
35
|
-
default =>
|
35
|
+
default => $::<%= config[:shortname] %>_ensure
|
36
36
|
}
|
37
37
|
|
38
38
|
# The Protocol used. Used by monitor and firewall class. Default is 'tcp'
|
39
|
-
$protocol =
|
39
|
+
$protocol = $::<%= config[:shortname] %>_protocol ? {
|
40
40
|
'' => 'tcp',
|
41
|
-
default =>
|
41
|
+
default => $::<%= config[:shortname] %>_protocol},
|
42
42
|
}
|
43
43
|
# The port number. Used by monitor and firewall class. The default is 22.
|
44
|
-
$port =
|
44
|
+
$port = $::<%= config[:shortname] %>_port ? {
|
45
45
|
'' => 22,
|
46
|
-
default =>
|
46
|
+
default => $::<%= config[:shortname] %>_port,
|
47
47
|
}
|
48
48
|
# example of an array variable
|
49
|
-
$array_variable =
|
49
|
+
$array_variable = $::<%= config[:shortname] %>_array_variable ? {
|
50
50
|
'' => [],
|
51
|
-
default =>
|
51
|
+
default => $::<%= config[:shortname] %>_array_variable,
|
52
52
|
}
|
53
53
|
|
54
54
|
|
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.5.
|
4
|
+
version: 0.5.6
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|