hammer_cli_foreman_admin 0.0.7 → 0.0.8

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: 57031fc9298521918fbdc043207f91756dd2bcfe
4
- data.tar.gz: de1804d20a78348cedfb19a06a21e64a2015fa89
3
+ metadata.gz: 3f7088310c8c2e48060c5c77d3e0cc31c37c4a43
4
+ data.tar.gz: 851c24f9d305bc347867587eb5d3bdcdd74ca9f6
5
5
  SHA512:
6
- metadata.gz: fdc764d68b67a1f0dafcdba509bd36d803693b4e5c30dbdea17f880a38a6bb34e418eb2899085b9e57409cc252142c379d103b01f1bd072522819b6aae8afb59
7
- data.tar.gz: fd2cb8187b955543dd217912aaf1b90f169b44440755a1eb4ad4bfc20f86061618785d9f2ebe51caca4882858723d642a219efd89b096ea3d2143b0c63e2b04a
6
+ metadata.gz: 1e60e128a6edec8396ce17cc829fcdfedde97ef171e9433258c04044c6e77f2a18d8873b039ab689ce81e219008cf626a4b5b5d0b6c3cd266fd2bf5f743260f9
7
+ data.tar.gz: 380a14f05d4be7a03dfab86bc904799b2b57c2c6a78f755900e21eefa19357b775603eb898f3b417f3c74a4d2e49e2a980a65fb46fb88ca807a105daa5d98e9b
@@ -96,9 +96,9 @@ module HammerCLIForemanAdmin
96
96
  action[:file] = file
97
97
  end
98
98
  func = action_functions[action_name.to_sym]
99
- if func && ! option_dry_run?
99
+ if func
100
100
  logger.info "Processing #{name} action #{action_name}"
101
- func.call(action)
101
+ func.call(action) unless option_dry_run?
102
102
  else
103
103
  raise "Unknown action #{action_name} for component #{name}"
104
104
  end
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanAdmin
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.0.7'
3
+ @version ||= Gem::Version.new '0.0.8'
4
4
  end
5
5
  end
@@ -0,0 +1,74 @@
1
+ # English translations for hammer-cli-foreman-admin package.
2
+ # Copyright (C) 2016 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli-foreman-admin package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer-cli-foreman-admin 0.0.1\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2016-04-13 15:09+0200\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: English\n"
13
+ "Language: en\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
+ "\n"
19
+
20
+ #: ../lib/hammer_cli_foreman_admin/admin_command.rb:6
21
+ msgid "Administrative server-side tasks"
22
+ msgstr ""
23
+
24
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:6
25
+ msgid "Increase verbosity level to debug."
26
+ msgstr ""
27
+
28
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:7
29
+ msgid "Decrease verbosity level to standard."
30
+ msgstr ""
31
+
32
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:8
33
+ msgid "Components to apply, use --list to get them."
34
+ msgstr ""
35
+
36
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:9
37
+ msgid "List available components."
38
+ msgstr ""
39
+
40
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:10
41
+ msgid "Apply to all components."
42
+ msgstr ""
43
+
44
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:11
45
+ msgid "Do not apply specified changes."
46
+ msgstr ""
47
+
48
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:12
49
+ msgid "Skip configuration backups creation."
50
+ msgstr ""
51
+
52
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:13
53
+ msgid "Operate on prefixed environment (e.g. chroot)."
54
+ msgstr ""
55
+
56
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:30
57
+ msgid "Command '%{cmd}' failed: %{e}"
58
+ msgstr ""
59
+
60
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:120
61
+ msgid "Component"
62
+ msgstr ""
63
+
64
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:121
65
+ msgid "Auto-detected by existence of"
66
+ msgstr ""
67
+
68
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:122
69
+ msgid "Destinations"
70
+ msgstr ""
71
+
72
+ #: ../lib/hammer_cli_foreman_admin/logging_command.rb:138
73
+ msgid "Logging verbosity level setup"
74
+ msgstr ""
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Zapletal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2018-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Foreman administrative commands plugin for Hammer CLI
@@ -32,18 +32,19 @@ extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README.md
34
34
  files:
35
- - config/foreman_admin.yml
36
- - config/cli.modules.d/foreman_admin_logging_katello.yml
35
+ - LICENSE
36
+ - README.md
37
37
  - config/cli.modules.d/foreman_admin_logging_core.yml
38
- - lib/hammer_cli_foreman_admin/version.rb
39
- - lib/hammer_cli_foreman_admin/logging_command.rb
38
+ - config/cli.modules.d/foreman_admin_logging_katello.yml
39
+ - config/foreman_admin.yml
40
+ - lib/hammer_cli_foreman_admin.rb
40
41
  - lib/hammer_cli_foreman_admin/admin_command.rb
41
42
  - lib/hammer_cli_foreman_admin/i18n.rb
42
- - lib/hammer_cli_foreman_admin.rb
43
+ - lib/hammer_cli_foreman_admin/logging_command.rb
44
+ - lib/hammer_cli_foreman_admin/version.rb
45
+ - locale/en/hammer-cli-foreman-admin.edit.po
43
46
  - locale/en/hammer-cli-foreman-admin.po
44
47
  - locale/hammer-cli-foreman-admin.pot
45
- - LICENSE
46
- - README.md
47
48
  homepage: https://github.com/theforeman/hammer-cli-foreman-admin
48
49
  licenses:
49
50
  - GPL-3
@@ -54,17 +55,17 @@ require_paths:
54
55
  - lib
55
56
  required_ruby_version: !ruby/object:Gem::Requirement
56
57
  requirements:
57
- - - '>='
58
+ - - ">="
58
59
  - !ruby/object:Gem::Version
59
60
  version: '0'
60
61
  required_rubygems_version: !ruby/object:Gem::Requirement
61
62
  requirements:
62
- - - '>='
63
+ - - ">="
63
64
  - !ruby/object:Gem::Version
64
65
  version: '0'
65
66
  requirements: []
66
67
  rubyforge_project:
67
- rubygems_version: 2.0.14.1
68
+ rubygems_version: 2.6.11
68
69
  signing_key:
69
70
  specification_version: 4
70
71
  summary: Foreman administrative commands plugin