capistrano-nrsysmond 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/capistrano-nrsysmond/capistrano.rb +8 -6
- data/lib/capistrano-nrsysmond/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Prepend your config/deploy.rb with the following lines
|
|
35
35
|
# Credits
|
36
36
|
* Jamis Buck ([Capistrano's](https://github.com/capistrano) original author)
|
37
37
|
* [Patrick Reagan](http://stackoverflow.com/users/206390/patrick-reagan) for the `remote_file_exists?` method example from [How can you check to see if a file exists (on the remote server) in Capistrano?](http://stackoverflow.com/questions/1661586/how-can-you-check-to-see-if-a-file-exists-on-the-remote-server-in-capistrano)
|
38
|
-
[NewRelic](http://www.newrelic.com/)
|
38
|
+
* [NewRelic](http://www.newrelic.com/)
|
39
39
|
* Mitchell Hashimoto [@mitchellh](https://twitter.com/mitchellh) (http://tech.pro/tutorial/1226/basic-rubygem-development)
|
40
40
|
|
41
41
|
## Contributing
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Capistrano::Configuration.instance(:must_exist).load do
|
2
2
|
|
3
|
-
_cset
|
4
|
-
abort <<-ERROR
|
3
|
+
_cset(:newrelic_licencekey) {
|
4
|
+
abort <<-ERROR
|
5
5
|
define :newrelic_licencekey
|
6
6
|
|
7
7
|
This can be done via:
|
@@ -38,10 +38,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
38
38
|
redhat if remote_file_exists? '/etc/redhat-release'
|
39
39
|
end
|
40
40
|
end
|
41
|
-
task :debian do
|
42
|
-
run
|
43
|
-
|
44
|
-
|
41
|
+
task :debian do
|
42
|
+
run "echo \"deb http://apt.newrelic.com/debian/ newrelic non-free\" > /tmp/newrelic.list"
|
43
|
+
sudo "cp /tmp/newrelic.list /etc/apt/sources.list.d/newrelic.list"
|
44
|
+
run 'wget -O- http://download.newrelic.com/548C16BF.gpg 2>/dev/null | sudo apt-key add -'
|
45
|
+
run "#{sudo} apt-get update && #{sudo} apt-get install newrelic-sysmond"
|
46
|
+
configure
|
45
47
|
end
|
46
48
|
task :redhat do
|
47
49
|
sudo "rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/$(uname -m)/newrelic-repo-5-3.noarch.rpm || true"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-nrsysmond
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Collom
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-10-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: capistrano
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements: []
|
77
77
|
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.25
|
80
80
|
signing_key:
|
81
81
|
specification_version: 3
|
82
82
|
summary: newrelic sysmond recipe
|