master_manipulator 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/master_manipulator/log.rb +4 -2
- data/lib/master_manipulator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWJiNDE5ZWJjNDlhNTBlYWU3ZGQ2ODc0N2UxMzM0MzQ5OGY4Zjk1MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGEyZWM4YmI0Nzk0MGMxYzA1YmEzMWFmOGZiODE3ZTJhNDIzYjRiNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWY3MmNhMjEzNDk5N2QxYjM1YWExNzZiYzY2YzJmYzhhNTBhMDNmOTg0OTI3
|
10
|
+
MjM0YjU4ZmI2M2U1NWRlMGI4OGUwZWFlMjllMWRjZTdhZjRiZTQzNTA4Mjlk
|
11
|
+
ZWZiN2UxOGEwZDU4NmU1ODQ4Mzk0MmNlMDY2YzE2NDVjNDdhZTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Njk4MmMzNDJkNzJjMDY4YzI0MWE5ZWY3OWNhNDBhM2EwOTdlYTI3NmY2M2E3
|
14
|
+
ZGQ3NmVmYTdmMWUyNTkyODc4NDUxNmY1ZTI2ZGI2ZTQ1ZTZjOWI0MGEwMjgy
|
15
|
+
NjdhYzY0MzMxMjk4YTBmMzI3MTAxZjEwN2M5ZThjYzM2Mjk3MTY=
|
@@ -8,8 +8,10 @@ module MasterManipulator
|
|
8
8
|
# @example return the path to the puppet server log file
|
9
9
|
# puppet_server_log_path(master)
|
10
10
|
def puppet_server_log_path(master_host)
|
11
|
-
|
12
|
-
|
11
|
+
# we use the "puppet config print logdir" to build the path, because "puppet master --configprint logdir" is
|
12
|
+
# set to the the puppet agent directory instead of the puppetserver, on some of the PE tests so we can't use it
|
13
|
+
log_dir = on(master_host, puppet("config print logdir")).stdout.chomp
|
14
|
+
"#{log_dir}server/puppetserver.log"
|
13
15
|
end
|
14
16
|
|
15
17
|
#<fileNamePattern>/var/log/puppetlabs/puppetserver/puppetserver-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: master_manipulator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|