provizioning 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Provizioning
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
@@ -4,7 +4,7 @@ class { "base": stage => "pre-flight" }
4
4
  class base {
5
5
  include base::time
6
6
 
7
- $packagelist = ['git-core', 'vim', 'screen']
7
+ $packagelist = ['git-core', 'vim', 'screen', 'htop']
8
8
  package { $packagelist:
9
9
  ensure => installed
10
10
  }
@@ -16,7 +16,7 @@ class ruby($version = 'ruby-1.9.3-p0') {
16
16
  }
17
17
 
18
18
  # Dependencies
19
- $packagelist = ['sqlite3', 'libsqlite3-dev', 'libreadline-dev', 'libxml2', 'libxml2-dev', 'libxslt-dev', 'build-essential', 'libcurl4-openssl-dev']
19
+ $packagelist = ['sqlite3', 'libsqlite3-dev', 'libreadline-dev', 'libxml2', 'libxml2-dev', 'libxslt1-dev', 'build-essential', 'libcurl4-openssl-dev']
20
20
  package { $packagelist:
21
21
  ensure => installed
22
22
  }
@@ -4,10 +4,18 @@ class webmin {
4
4
  $archive = "/root/$base"
5
5
  $installed = "/etc/webmin/version"
6
6
 
7
- package { "libnet-ssleay-perl": ensure => installed }
8
- package { "libauthen-pam-perl": ensure => installed }
9
- package { "libio-pty-perl": ensure => installed }
10
- package { "libmd5-perl": ensure => installed }
7
+ class dependencies {
8
+ package { "perl": ensure => installed }
9
+ package { "libnet-ssleay-perl": ensure => installed }
10
+ package { "openssl": ensure => installed }
11
+ package { "libauthen-pam-perl": ensure => installed }
12
+ package { "libpam-runtime": ensure => installed }
13
+ package { "libio-pty-perl": ensure => installed }
14
+ package { "apt-show-versions": ensure => installed }
15
+ package { "python": ensure => installed }
16
+ }
17
+
18
+ include webmin::dependencies
11
19
 
12
20
  service { webmin:
13
21
  ensure => running,
@@ -25,7 +33,7 @@ class webmin {
25
33
  cwd => "/root",
26
34
  command => "dpkg -i $archive",
27
35
  creates => $installed,
28
- require => Exec["DownloadWebmin"],
36
+ require => [Exec["DownloadWebmin"], Class['webmin::dependencies']],
29
37
  notify => Service[webmin],
30
38
  }
31
39
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provizioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-06 00:00:00.000000000 Z
12
+ date: 2012-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70111995484420 !ruby/object:Gem::Requirement
16
+ requirement: &70169789063920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70111995484420
24
+ version_requirements: *70169789063920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano-ext
27
- requirement: &70111995483880 !ruby/object:Gem::Requirement
27
+ requirement: &70169789063400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70111995483880
35
+ version_requirements: *70169789063400
36
36
  description: Puppet server provisioning tools, recipes and templates
37
37
  email:
38
38
  - victor.castell@season.es