puppet 6.11.0-x86-mingw32 → 6.11.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 707e62ff8da5b9e47dd8111ad90de2aa7dff786e479749037e4da49f5e70bb5b
4
- data.tar.gz: 3135951e6b825834aadbddfe6cf01f1d0f1d58d6b23963b8b6dd8e54e86a7869
3
+ metadata.gz: 9cb02b595a5d1973319b9a6bb97af0901ee975121f1d957d3bc47d09d6ffef3e
4
+ data.tar.gz: 44dd806970ca1fd0b626d3ba4f8619a3b27940bd60a34bcd6aa6789a6da6fdf0
5
5
  SHA512:
6
- metadata.gz: ccf4b921bcf59b852305ba045e7e2cd0ef427ce459e616cf98913d55b8bcf1572a446ffb9f64fb01dc133472894da733b102d02367c203e1756216c6e99198c6
7
- data.tar.gz: 44ce8eecd4fe5fbcae5b423af3f0a8409c20aa58d1605b6299248d2da10c18c7f5a484e63615c3d2ab6f8949faea580f149effc6ca8f42eb3c7602333882950b
6
+ metadata.gz: dfa55be34a2210f9604209d7d9b64023c95f226102c76181c33e73b55f428d0481061bb383852568cb30ade24a8b2b882c14d854f86f28bd5cf40a41ce21c13f
7
+ data.tar.gz: f71234dda19fde2d8531023287e081c756ff2bbe3d42888fe53ae43dcc838cd5f0b8096d0c9664c6b5152c2d8f5422a6f52b4e526052184155d569d7df6217d3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puppet (6.11.0)
4
+ puppet (6.11.1)
5
5
  CFPropertyList (~> 2.2)
6
6
  concurrent-ruby (~> 1.0)
7
7
  deep_merge (~> 1.0)
@@ -57,7 +57,7 @@ GEM
57
57
  multi_json (1.14.1)
58
58
  mustache (1.1.0)
59
59
  optimist (3.0.0)
60
- packaging (0.99.48)
60
+ packaging (0.99.49)
61
61
  artifactory (~> 2)
62
62
  rake (>= 12.3)
63
63
  release-metrics
@@ -127,10 +127,10 @@ Puppet::Type.type(:service).provide :systemd, :parent => :base do
127
127
  # This function is called only on start & restart unit options.
128
128
  # Reference: (PUP-3483) Systemd provider doesn't scan for changed units
129
129
  def daemon_reload?
130
- cmd = [command(:systemctl), 'show', '--', @resource[:name], '--property=NeedDaemonReload']
130
+ cmd = [command(:systemctl), 'show', '--property=NeedDaemonReload', '--', @resource[:name]]
131
131
  daemon_reload = execute(cmd, :failonfail => false).strip.split('=').last
132
132
  if daemon_reload == 'yes'
133
- daemon_reload_cmd = [command(:systemctl), '--', 'daemon-reload']
133
+ daemon_reload_cmd = [command(:systemctl), 'daemon-reload']
134
134
  execute(daemon_reload_cmd, :failonfail => false)
135
135
  end
136
136
  end
@@ -6,7 +6,7 @@
6
6
  # Raketasks and such to set the version based on the output of `git describe`
7
7
 
8
8
  module Puppet
9
- PUPPETVERSION = '6.11.0'
9
+ PUPPETVERSION = '6.11.1'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
@@ -255,13 +255,13 @@ Jun 14 21:43:23 foo.example.com systemd[1]: sshd.service lacks both ExecStart= a
255
255
  describe "#daemon_reload?" do
256
256
  it "should skip the systemctl daemon_reload if not required by the service" do
257
257
  provider = provider_class.new(Puppet::Type.type(:service).new(:name => 'sshd.service'))
258
- expect(provider).to receive(:execute).with(['/bin/systemctl','show', '--', 'sshd.service','--property=NeedDaemonReload'], :failonfail => false).and_return("no")
258
+ expect(provider).to receive(:execute).with(['/bin/systemctl', 'show', '--property=NeedDaemonReload', '--', 'sshd.service'], :failonfail => false).and_return("no")
259
259
  provider.daemon_reload?
260
260
  end
261
261
  it "should run a systemctl daemon_reload if the service has been modified" do
262
262
  provider = provider_class.new(Puppet::Type.type(:service).new(:name => 'sshd.service'))
263
- expect(provider).to receive(:execute).with(['/bin/systemctl','show', '--', 'sshd.service','--property=NeedDaemonReload'], :failonfail => false).and_return("yes")
264
- expect(provider).to receive(:execute).with(['/bin/systemctl', '--', 'daemon-reload'], :failonfail => false)
263
+ expect(provider).to receive(:execute).with(['/bin/systemctl', 'show', '--property=NeedDaemonReload', '--', 'sshd.service'], :failonfail => false).and_return("yes")
264
+ expect(provider).to receive(:execute).with(['/bin/systemctl', 'daemon-reload'], :failonfail => false)
265
265
  provider.daemon_reload?
266
266
  end
267
267
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.11.0
4
+ version: 6.11.1
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-18 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter