Skip to content

Commit

Permalink
Merge pull request #18 from opscode/jw/rename
Browse files Browse the repository at this point in the history
Renamed pushy->push
  • Loading branch information
jwilberding committed Feb 26, 2014
2 parents f5ad390 + 1b309ab commit 8e3aca2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in knife-pushy.gemspec
# Specify your gem's dependencies in knife-push.gemspec
gemspec
19 changes: 9 additions & 10 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= Knife Pushy
= Knife Push

= DESCRIPTION:

The knife pushy plugin is used by the Chef workstation to interact with the Pushy API to start jobs, view job status, view job lists, and view node status.
The knife push plugin is used by the Chef workstation to interact with the Push API to start jobs, view job status, view job lists, and view node status.

= INSTALLATION:

Expand All @@ -12,22 +12,22 @@ To build and install the plugin, run:

= CONFIGURATION:

If pushy server is running on the same host as the OPC, then no reconfiguration is required on the Chef workstation.
If push server is running on the same host as the OPC, then no reconfiguration is required on the Chef workstation.

= SUBCOMMANDS:

This plugin provides the following Knife subcommands. Specific command options can be found by invoking the subcommand with a <tt>--help</tt> flag.

== job list

The <tt>job list</tt> subcommand is used to view a list of Pushy jobs.
The <tt>job list</tt> subcommand is used to view a list of Push jobs.

== Syntax
$ knife job list

== job start

The <tt>job start</tt> subcommand is used to start a Pushy job.
The <tt>job start</tt> subcommand is used to start a Push job.

== Syntax
$ knife job start (options) COMMAND [NODE, NODE, ...]
Expand All @@ -41,7 +41,7 @@ The maximum amount of time (in seconds) by which a job must complete, before it

-q QUORUM --quorum QUORUM

The minimum number of nodes that match the search criteria, are available, and acknowledge the job request. This can be expressed as a
The minimum number of nodes that match the search criteria, are available, and acknowledge the job request. This can be expressed as a
percentage (e.g. 50%) or as an absolute number of nodes (e.g. 145). Default value: 100%

== Examples
Expand All @@ -63,7 +63,7 @@ For example, to run a job named add-glasses against a node named “ricardosalaz

== job status

The <tt>job status</tt> argument is used to view the status of Pushy jobs.
The <tt>job status</tt> argument is used to view the status of Push jobs.

== Syntax
$ knife job status
Expand All @@ -75,15 +75,15 @@ For example, to view the status of a job that has the identifier of “235”, e

== node status

The <tt>node status</tt> argument is used to identify nodes that Pushy may interact with.
The <tt>node status</tt> argument is used to identify nodes that Push may interact with.

== Syntax
$ knife node status


== License

Pushy - The push jobs component for chef
Push - The push jobs component for chef

**Copyright:** Copyright (c) 2008-2014 Chef Software, Inc.
**License:** Apache License, Version 2.0
Expand All @@ -99,4 +99,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

5 changes: 2 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
end

gem_spec = eval(File.read("knife-pushy.gemspec"))
gem_spec = eval(File.read("knife-push.gemspec"))

RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "knife-pushy #{gem_spec.version}"
rdoc.title = "knife-push #{gem_spec.version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end

9 changes: 4 additions & 5 deletions knife-pushy.gemspec → knife-push.gemspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
$:.unshift(File.dirname(__FILE__) + '/lib')

Gem::Specification.new do |s|
s.name = "knife-pushy"
s.version = '0.3'
s.name = "knife-push"
s.version = '0.4'
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
s.summary = "Knife plugin for OPC pushy"
s.summary = "Knife plugin for OPC push"
s.description = s.summary
s.author = "John Keiser"
s.email = "jkeiser@opscode.com"
Expand All @@ -17,8 +17,7 @@ Gem::Specification.new do |s|
# can be included with apps that have restrictive Gemfile.locks.
# s.add_dependency "mixlib-cli", ">= 1.2.2"

s.add_dependency 'chef', '~> 11.6.0'
s.add_dependency 'chef', '~> 11.10.4'
s.require_path = 'lib'
s.files = %w(LICENSE README.rdoc Rakefile) + Dir.glob("{lib,spec}/**/*")
end

0 comments on commit 8e3aca2

Please sign in to comment.