knife-scrub 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ODIyYjQyNjYxYzhlZmJmMDFhMmVkMmM3ZWFjY2JjYzU3NDhmOGM3NA==
5
- data.tar.gz: !binary |-
6
- NDljMjNjNzRkOGJlYzhkNTcwZGM0ZjE0NDQ2MTc1NTYzZDliNmVkNA==
2
+ SHA256:
3
+ metadata.gz: 178f5396abdde059cb3dbcff4244dd6ff0db41b0dfc3477cb060cd1021af4321
4
+ data.tar.gz: fd2b81b8fa96c95934c5deb13ee9eabc087d2ab9962a30741519454eb37053d1
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Mjk3NTVlZDQ5MzRlYWIzYjQyODBhZDg2ZDBmMDNkYzFlMjM4OTM1NmNiNzU4
10
- MTYzM2M0OTg1ZjkwOTlkMzZmYTNjNzZjMDI5ZGM2YmE5NmRjNDMzZTk4MjBm
11
- ZjhhMjlhM2FhN2VlZjAzNDg0ODk4NDNmZTc5NmY5N2RiNGRhNjI=
12
- data.tar.gz: !binary |-
13
- OTc0NGQ3YWY4MjgwYmRiNjZjYTA2YzFhNmU2YmU4ZjJiN2M5YzE1Yzk4NGJh
14
- ZmFiN2ZmYmFmYTNjYWVhZTY2MDUyMjYyZGNkNmM3MWZhZTczMGJmMDUyZmEy
15
- MjY5NDMyODk0ZTMzNWY2NGNiMmU5YzRlMmNlNzczZTRmZjI0ZmU=
6
+ metadata.gz: 1e9637b8a08460b691da609173a1e4cccb65bf63885dadb490f3d7b657bb54723b3085cf0c4e74096839435952d29e61e9566fefaf31229f34856b5c3116624a
7
+ data.tar.gz: 9374625ab5fea9a0fa744b5714c4a00b8229dc67b1fe49abc5ef4ecaf3af937c0fdb57d5b4f4e573c6d6fda06b40525f89a1dcaa4f6d811803bfc034671f6eea
data/README.md CHANGED
@@ -22,6 +22,12 @@ It's possible to restrict the node search to a given pattern with `--query`:
22
22
  $ knife scrub attributes -q roles:web nagios.services
23
23
  ```
24
24
 
25
+ In order to just display all nodes with normal attributes, use `--dry-run`:
26
+
27
+ ```bash
28
+ $ knife scrub attributes -d nagios.services
29
+ ```
30
+
25
31
  The usual `--yes` / `-y` flag works as well:
26
32
 
27
33
  ```bash
@@ -80,7 +80,7 @@ class Chef
80
80
  protected
81
81
 
82
82
  def format(node, text)
83
- "#{ui.color(node.fqdn, :cyan)}: #{text}"
83
+ "#{ui.color(node.name, :cyan)}: #{text}"
84
84
  end
85
85
 
86
86
  end
@@ -18,7 +18,7 @@
18
18
 
19
19
  module Knife
20
20
  module Scrub
21
- VERSION = '0.3.0'
21
+ VERSION = '0.3.1'
22
22
  MAJOR, MINOR, TINY = VERSION.split('.')
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-scrub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-13 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 10.26.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: 10.26.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Collection of knife plugins to remove orphaned objects from chef-server
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
48
+ - ".gitignore"
49
49
  - Gemfile
50
50
  - LICENSE
51
51
  - README.md
@@ -64,19 +64,18 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ! '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.1.11
77
+ rubygems_version: 2.7.7
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: knife plugin to scrub normal attributes of chef-server
81
81
  test_files: []
82
- has_rdoc: