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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGI5NWY1NDIzOTg4YmU4ZTg5ODNiZTM2YTAxOThiODZmYmM3ZGQ2ZA==
4
+ MWJiNDE5ZWJjNDlhNTBlYWU3ZGQ2ODc0N2UxMzM0MzQ5OGY4Zjk1MQ==
5
5
  data.tar.gz: !binary |-
6
- Nzg2ZGRlMWQxMjQ1OTdmMDI5YzJiNjMzNmNmZjI1OGYzMDlkNTVhZg==
6
+ NGEyZWM4YmI0Nzk0MGMxYzA1YmEzMWFmOGZiODE3ZTJhNDIzYjRiNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGYxZDYzZjRhMGU2MmIxZWRiODRhYzhjYTlkMWY0NTc3ZjljNGI3Yjc5YzE4
10
- NDc5MWQzNzFlMTI1MTY5NzIzMTRlMWViOTk4ZmZhYmE5YjVlMjE3N2JhZjE0
11
- MTk3N2U5ZTcyZmNjYWQxOTYyMGQxYzc4MDBkM2UzMDMwOGNjMWI=
9
+ OWY3MmNhMjEzNDk5N2QxYjM1YWExNzZiYzY2YzJmYzhhNTBhMDNmOTg0OTI3
10
+ MjM0YjU4ZmI2M2U1NWRlMGI4OGUwZWFlMjllMWRjZTdhZjRiZTQzNTA4Mjlk
11
+ ZWZiN2UxOGEwZDU4NmU1ODQ4Mzk0MmNlMDY2YzE2NDVjNDdhZTM=
12
12
  data.tar.gz: !binary |-
13
- NTA1YmMwNjVmMjVjZGQzYzc3NGUwMjAxZTU3NGFmZjY4ZjVmNmRhMWQ5ZGZm
14
- Yzc4NzRlOGYyYzhlMDFmZWUwMDVkYzkyZWJjNzE1Y2FiNjJlN2EyYjdkZjA4
15
- NjYwZjZlMDBkN2IxMWIwYWI5YWRiZGFkZTU2NmQ3YmRjOTc4NmU=
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
- log_dir = on(master_host, puppet("master --configprint logdir")).stdout.chomp
12
- "#{log_dir}/puppetserver.log"
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>
@@ -1,5 +1,5 @@
1
1
  module MasterManipulator
2
2
  module Version
3
- STRING = '2.1.0'
3
+ STRING = '2.1.1'
4
4
  end
5
5
  end
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.0
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-06-30 00:00:00.000000000 Z
11
+ date: 2017-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler