standup 0.5.13 → 0.5.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Standup
2
- VERSION = "0.5.13"
2
+ VERSION = "0.5.14"
3
3
 
4
4
  def self.version
5
5
  VERSION
data/scripts/basics.rb CHANGED
@@ -2,6 +2,7 @@ Standup.script :node do
2
2
  def run
3
3
  sudo 'apt-get -qq update'
4
4
  install_packages 'build-essential libreadline5-dev mc s3cmd'
5
+ sudo 'locale-gen ru_RU.UTF-8'
5
6
 
6
7
  with_processed_file script_file('s3cfg') do |file|
7
8
  upload file,
@@ -38,15 +38,15 @@
38
38
  # The default values of these variables are driven from the -D command-line
39
39
  # option or PGDATA environment variable, represented here as ConfigDir.
40
40
 
41
- data_directory = '/var/lib/postgresql/9.0/main' # use data in another directory
41
+ data_directory = '/var/lib/postgresql/9.1/main' # use data in another directory
42
42
  # (change requires restart)
43
- hba_file = '/etc/postgresql/9.0/main/pg_hba.conf' # host-based authentication file
43
+ hba_file = '/etc/postgresql/9.1/main/pg_hba.conf' # host-based authentication file
44
44
  # (change requires restart)
45
- ident_file = '/etc/postgresql/9.0/main/pg_ident.conf' # ident configuration file
45
+ ident_file = '/etc/postgresql/9.1/main/pg_ident.conf' # ident configuration file
46
46
  # (change requires restart)
47
47
 
48
48
  # If external_pid_file is not explicitly set, no extra PID file is written.
49
- external_pid_file = '/var/run/postgresql/9.0-main.pid' # write an extra PID file
49
+ external_pid_file = '/var/run/postgresql/9.1-main.pid' # write an extra PID file
50
50
  # (change requires restart)
51
51
 
52
52
 
@@ -1,4 +1,4 @@
1
- check process postgresql with pidfile /var/run/postgresql/9.0-main.pid
1
+ check process postgresql with pidfile /var/run/postgresql/9.1-main.pid
2
2
  group database
3
3
  start program = "/etc/init.d/postgresql start"
4
4
  stop program = "/etc/init.d/postgresql stop"
@@ -4,15 +4,15 @@ Standup.script :node do
4
4
  sudo 'add-apt-repository ppa:pitti/postgresql'
5
5
  sudo 'apt-get update'
6
6
 
7
- #TODO execute sql /usr/share/postgresql/9.0/contrib/adminpack.sql
8
- install_packages 'postgresql postgresql-contrib libpq-dev'
7
+ #TODO execute sql /usr/share/postgresql/9.1/contrib/adminpack.sql
8
+ install_packages 'postgresql-9.1 postgresql-contrib-9.1 libpq-dev'
9
9
 
10
10
  upload script_file('pg_hba.conf'),
11
- :to => '/etc/postgresql/9.0/main/pg_hba.conf',
11
+ :to => '/etc/postgresql/9.1/main/pg_hba.conf',
12
12
  :sudo => true
13
13
 
14
14
  upload script_file('postgresql.conf'),
15
- :to => '/etc/postgresql/9.0/main/postgresql.conf',
15
+ :to => '/etc/postgresql/9.1/main/postgresql.conf',
16
16
  :sudo => true
17
17
 
18
18
  tune_kernel
@@ -22,7 +22,6 @@ Standup.script :node do
22
22
  end
23
23
 
24
24
  restart
25
- # sudo 'service postgresql restart'
26
25
  end
27
26
 
28
27
  def exec_sql sql, local = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.13
4
+ version: 0.5.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2011-09-09 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: trollop
18
- requirement: &70198872104340 !ruby/object:Gem::Requirement
18
+ requirement: &70135903137000 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '1.16'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70198872104340
26
+ version_requirements: *70135903137000
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: i18n
29
- requirement: &70198872103840 !ruby/object:Gem::Requirement
29
+ requirement: &70135903135900 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 0.5.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *70198872103840
37
+ version_requirements: *70135903135900
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: activesupport
40
- requirement: &70198872103380 !ruby/object:Gem::Requirement
40
+ requirement: &70135903135000 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '3.0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *70198872103380
48
+ version_requirements: *70135903135000
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: settingslogic
51
- requirement: &70198872102920 !ruby/object:Gem::Requirement
51
+ requirement: &70135903133500 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '2.0'
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *70198872102920
59
+ version_requirements: *70135903133500
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: amazon-ec2
62
- requirement: &70198872102460 !ruby/object:Gem::Requirement
62
+ requirement: &70135903132900 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0.9'
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *70198872102460
70
+ version_requirements: *70135903132900
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: aws-s3
73
- requirement: &70198872102000 !ruby/object:Gem::Requirement
73
+ requirement: &70135903132060 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0.5'
79
79
  type: :runtime
80
80
  prerelease: false
81
- version_requirements: *70198872102000
81
+ version_requirements: *70135903132060
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: net-ssh
84
- requirement: &70198872101540 !ruby/object:Gem::Requirement
84
+ requirement: &70135903131480 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
- version_requirements: *70198872101540
92
+ version_requirements: *70135903131480
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: highline
95
- requirement: &70198872101080 !ruby/object:Gem::Requirement
95
+ requirement: &70135903112120 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,7 +100,7 @@ dependencies:
100
100
  version: 1.5.2
101
101
  type: :runtime
102
102
  prerelease: false
103
- version_requirements: *70198872101080
103
+ version_requirements: *70135903112120
104
104
  description: ''
105
105
  email:
106
106
  - ilia@flamefork.ru
@@ -198,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  segments:
200
200
  - 0
201
- hash: 2756298026055865495
201
+ hash: 2029569967480200357
202
202
  required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  none: false
204
204
  requirements:
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: 2756298026055865495
210
+ hash: 2029569967480200357
211
211
  requirements: []
212
212
  rubyforge_project: standup
213
213
  rubygems_version: 1.8.6