classify_cluster 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/classify +2 -2
- data/lib/classify_cluster/version.rb +1 -1
- metadata +3 -3
data/bin/classify
CHANGED
@@ -9,8 +9,8 @@ class Classify < Thor
|
|
9
9
|
default_task :puppet
|
10
10
|
|
11
11
|
desc 'puppet CLUSTER_NAME', 'Generates configurations for different aspects of the cluster based off of one configuration.'
|
12
|
-
method_option :config, :desc => 'Location to config file', :type => :string, :default => ClassifyCluster::Base.default_config_file
|
13
|
-
method_option :export, :desc => 'Location to output puppet cluster config', :type => :string, :default => ENV['HOME']
|
12
|
+
method_option :config, :aliases => "-c", :desc => 'Location to config file', :type => :string, :default => ClassifyCluster::Base.default_config_file
|
13
|
+
method_option :export, :aliases => "-e", :desc => 'Location to output puppet cluster config', :type => :string, :default => ENV['HOME']
|
14
14
|
def puppet(cluster_name=nil)
|
15
15
|
ClassifyCluster::Writers::Puppet.export!(options.export, :cluster => cluster_name, :config_file => options.config)
|
16
16
|
say("Success!")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: classify_cluster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 12
|
10
|
+
version: 0.4.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Cashin
|