shadow_puppet 0.10.0.beta1 → 0.10.1.beta1

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: 574c8b757b8a4e227b865b324e50b7edc79ab1aa
4
- data.tar.gz: 5e32f8084df839214a52c8141e86ed411012ecfe
3
+ metadata.gz: 2d05a60b92c7db0cf8181c99380b80483e19896a
4
+ data.tar.gz: 96e73f48e184963bb2b7b2284995c9a970965982
5
5
  SHA512:
6
- metadata.gz: c8924ac1268aa7339a7b558c2c83dee948c01b63d2e3a789296a14a27918bf209bbc0940aaa2bfd6954ce055ce844b92ac4ba253799f1ba81013365152566e58
7
- data.tar.gz: abb05a9285569cef5988f326e418adf2608b530aa20673c59f2a729b14453cc5b29620a624596c752c415200bdbcbd93707e800aafc2dfd461bd5ff6465dd6c8
6
+ metadata.gz: 3769c21aa94453a07820f34e1a1d3cc3245f4b43b1a15375ee77c38170a03a480ed37208db2dbfbd1b74cd001890a57a4314c1943e26968f848a5a3dd87bd22d
7
+ data.tar.gz: 85ae62a853273709d4d386a78dccef4604cb9821b743b2cadf4e28bd9e74ce875080b2887a22aeba9d8615e9f4bed064c0607aef3c34f2a6cf98c6dc4a30aecd
data/Rakefile CHANGED
@@ -3,6 +3,6 @@ require "rspec/core/rake_task"
3
3
  require "rubocop/rake_task"
4
4
 
5
5
  RSpec::Core::RakeTask.new
6
- Rubocop::RakeTask.new
6
+ #Rubocop::RakeTask.new
7
7
 
8
8
  task :default => [:spec, :rubocop]
@@ -86,9 +86,13 @@ module ShadowPuppet
86
86
  if Process.uid == 0
87
87
  Puppet[:confdir] = File.expand_path("/etc/shadow_puppet")
88
88
  Puppet[:vardir] = File.expand_path("/var/shadow_puppet")
89
+ Puppet[:codedir] = File.expand_path("/etc/shadow_puppet/code")
90
+ Puppet[:logdir] = File.expand_path("/var/log/shadow_puppet")
89
91
  else
90
92
  Puppet[:confdir] = File.expand_path("~/.shadow_puppet")
91
93
  Puppet[:vardir] = File.expand_path("~/.shadow_puppet/var")
94
+ Puppet[:codedir] = File.expand_path("~/.shadow_puppet/code")
95
+ Puppet[:logdir] = File.expand_path("~/shadow_puppet/log")
92
96
  end
93
97
  Puppet[:user] = Process.uid
94
98
  Puppet[:group] = Process.gid
@@ -332,7 +336,7 @@ module ShadowPuppet
332
336
 
333
337
  # Create a reference to another Puppet Resource.
334
338
  def reference(type, title, params = {})
335
- Puppet::Parser::Resource::Reference.new(type.name.to_s.capitalize, title.to_s)
339
+ Puppet::Resource.new(type.name.to_s.capitalize, title.to_s)
336
340
  end
337
341
 
338
342
  # Creates a new Puppet Resource and adds it to the Catalog.
@@ -1,3 +1,3 @@
1
1
  module ShadowPuppet
2
- VERSION = "0.10.0.beta1"
2
+ VERSION = "0.10.1.beta1"
3
3
  end
@@ -21,8 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_runtime_dependency "puppet", "~> 3.7.0"
25
- spec.add_runtime_dependency "facter", ["< 2", "> 1.6"]
24
+ spec.add_runtime_dependency "puppet", "~> 4.1.0"
26
25
  spec.add_runtime_dependency "activesupport", ">= 2.2.0"
27
26
 
28
27
  spec.add_development_dependency "bundler", "~> 1.3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shadow_puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.beta1
4
+ version: 0.10.1.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Newland
@@ -18,124 +18,104 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2014-09-10 00:00:00.000000000 Z
21
+ date: 2015-06-23 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: puppet
25
25
  requirement: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ~>
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 3.7.0
29
+ version: 4.1.0
30
30
  type: :runtime
31
31
  prerelease: false
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ~>
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: 3.7.0
37
- - !ruby/object:Gem::Dependency
38
- name: facter
39
- requirement: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - <
42
- - !ruby/object:Gem::Version
43
- version: '2'
44
- - - '>'
45
- - !ruby/object:Gem::Version
46
- version: '1.6'
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - <
52
- - !ruby/object:Gem::Version
53
- version: '2'
54
- - - '>'
55
- - !ruby/object:Gem::Version
56
- version: '1.6'
36
+ version: 4.1.0
57
37
  - !ruby/object:Gem::Dependency
58
38
  name: activesupport
59
39
  requirement: !ruby/object:Gem::Requirement
60
40
  requirements:
61
- - - '>='
41
+ - - ">="
62
42
  - !ruby/object:Gem::Version
63
43
  version: 2.2.0
64
44
  type: :runtime
65
45
  prerelease: false
66
46
  version_requirements: !ruby/object:Gem::Requirement
67
47
  requirements:
68
- - - '>='
48
+ - - ">="
69
49
  - !ruby/object:Gem::Version
70
50
  version: 2.2.0
71
51
  - !ruby/object:Gem::Dependency
72
52
  name: bundler
73
53
  requirement: !ruby/object:Gem::Requirement
74
54
  requirements:
75
- - - ~>
55
+ - - "~>"
76
56
  - !ruby/object:Gem::Version
77
57
  version: '1.3'
78
58
  type: :development
79
59
  prerelease: false
80
60
  version_requirements: !ruby/object:Gem::Requirement
81
61
  requirements:
82
- - - ~>
62
+ - - "~>"
83
63
  - !ruby/object:Gem::Version
84
64
  version: '1.3'
85
65
  - !ruby/object:Gem::Dependency
86
66
  name: rake
87
67
  requirement: !ruby/object:Gem::Requirement
88
68
  requirements:
89
- - - '>='
69
+ - - ">="
90
70
  - !ruby/object:Gem::Version
91
71
  version: '0'
92
72
  type: :development
93
73
  prerelease: false
94
74
  version_requirements: !ruby/object:Gem::Requirement
95
75
  requirements:
96
- - - '>='
76
+ - - ">="
97
77
  - !ruby/object:Gem::Version
98
78
  version: '0'
99
79
  - !ruby/object:Gem::Dependency
100
80
  name: rspec
101
81
  requirement: !ruby/object:Gem::Requirement
102
82
  requirements:
103
- - - ~>
83
+ - - "~>"
104
84
  - !ruby/object:Gem::Version
105
85
  version: 2.8.0
106
86
  type: :development
107
87
  prerelease: false
108
88
  version_requirements: !ruby/object:Gem::Requirement
109
89
  requirements:
110
- - - ~>
90
+ - - "~>"
111
91
  - !ruby/object:Gem::Version
112
92
  version: 2.8.0
113
93
  - !ruby/object:Gem::Dependency
114
94
  name: rspec-core
115
95
  requirement: !ruby/object:Gem::Requirement
116
96
  requirements:
117
- - - ~>
97
+ - - "~>"
118
98
  - !ruby/object:Gem::Version
119
99
  version: 2.8.0
120
100
  type: :development
121
101
  prerelease: false
122
102
  version_requirements: !ruby/object:Gem::Requirement
123
103
  requirements:
124
- - - ~>
104
+ - - "~>"
125
105
  - !ruby/object:Gem::Version
126
106
  version: 2.8.0
127
107
  - !ruby/object:Gem::Dependency
128
108
  name: rubocop
129
109
  requirement: !ruby/object:Gem::Requirement
130
110
  requirements:
131
- - - '>='
111
+ - - ">="
132
112
  - !ruby/object:Gem::Version
133
113
  version: '0'
134
114
  type: :development
135
115
  prerelease: false
136
116
  version_requirements: !ruby/object:Gem::Requirement
137
117
  requirements:
138
- - - '>='
118
+ - - ">="
139
119
  - !ruby/object:Gem::Version
140
120
  version: '0'
141
121
  description: A Ruby Puppet DSL
@@ -146,11 +126,11 @@ executables:
146
126
  extensions: []
147
127
  extra_rdoc_files: []
148
128
  files:
149
- - .gitignore
150
- - .gitmodules
151
- - .rspec
152
- - .rubocop.yml
153
- - .travis.yml
129
+ - ".gitignore"
130
+ - ".gitmodules"
131
+ - ".rspec"
132
+ - ".rubocop.yml"
133
+ - ".travis.yml"
154
134
  - Appraisals
155
135
  - Gemfile
156
136
  - LICENSE
@@ -195,17 +175,17 @@ require_paths:
195
175
  - lib
196
176
  required_ruby_version: !ruby/object:Gem::Requirement
197
177
  requirements:
198
- - - '>='
178
+ - - ">="
199
179
  - !ruby/object:Gem::Version
200
180
  version: '0'
201
181
  required_rubygems_version: !ruby/object:Gem::Requirement
202
182
  requirements:
203
- - - '>'
183
+ - - ">"
204
184
  - !ruby/object:Gem::Version
205
185
  version: 1.3.1
206
186
  requirements: []
207
187
  rubyforge_project:
208
- rubygems_version: 2.2.2
188
+ rubygems_version: 2.4.6
209
189
  signing_key:
210
190
  specification_version: 4
211
191
  summary: A Ruby Puppet DSL