apollon 0.0.4 → 0.0.6
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.
- checksums.yaml +4 -4
- data/.gemspec +8 -1
- data/.gitignore +5 -0
- data/.rspec +4 -0
- data/.travis.yml +27 -0
- data/README.md +12 -8
- data/Rakefile +51 -7
- data/Vagrantfile +1 -1
- data/bin/apollon +1 -1
- data/data/Example.Apollofile +16 -0
- data/{packs → data/packer}/README.md +0 -0
- data/{packs → data/packer}/core/README.md +0 -0
- data/{packs → data/packer}/core/pack-digitalocean.sh +1 -1
- data/{packs → data/packer}/core/pack-vagrant.sh +0 -0
- data/{packs → data/packer}/core/packer.json +0 -0
- data/{packs → data/packer}/core/provision.sh +1 -1
- data/{packs → data/packer}/core/scripts/provision-digitalocean.sh +0 -0
- data/{packs → data/packer}/examples/aws/pack.sh +0 -0
- data/{packs → data/packer}/examples/aws/packer.json +0 -0
- data/{packs → data/packer}/examples/digitalocean/data/images.json +0 -0
- data/{packs → data/packer}/examples/digitalocean/data/regions.json +0 -0
- data/{packs → data/packer}/examples/digitalocean/data/sizes.json +0 -0
- data/{packs → data/packer}/examples/digitalocean/pack.sh +0 -0
- data/{packs → data/packer}/examples/digitalocean/packer.json +0 -0
- data/{packs → data/packer}/examples/virtualbox-iso/pack.sh +0 -0
- data/{packs → data/packer}/examples/virtualbox-iso/packer.json +0 -0
- data/{packs → data/packer}/examples/virtualbox-iso/provision.sh +0 -0
- data/{puppet → data/puppet}/environment.conf +0 -0
- data/{puppet → data/puppet}/manifests/all.pp +0 -0
- data/{puppet → data/puppet}/manifests/core.pp +0 -0
- data/{puppet → data/puppet}/manifests/db.pp +0 -0
- data/{puppet → data/puppet}/manifests/default.pp +0 -0
- data/{puppet → data/puppet}/manifests/dev.pp +0 -0
- data/{puppet → data/puppet}/manifests/ops.pp +0 -0
- data/{puppet → data/puppet}/manifests/sites/apollocrawler.com.pp +0 -0
- data/data/puppet/manifests/travis.pp +3 -0
- data/{puppet → data/puppet}/manifests/web.pp +0 -0
- data/{puppet → data/puppet}/modules/apache2/files/apache2.conf +0 -0
- data/{puppet → data/puppet}/modules/apache2/files/envvars +0 -0
- data/{puppet → data/puppet}/modules/apache2/files/magic +0 -0
- data/{puppet → data/puppet}/modules/apache2/files/ports.conf +0 -0
- data/{puppet → data/puppet}/modules/apache2/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/clang/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/cmake/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/core/files/sources.list +0 -0
- data/{puppet → data/puppet}/modules/core/manifests/init.pp +5 -4
- data/{puppet → data/puppet}/modules/couchdb/files/local.ini +0 -0
- data/{puppet → data/puppet}/modules/couchdb/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/db/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/dev/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/elasticsearch/files/elasticsearch.yml +0 -0
- data/{puppet → data/puppet}/modules/elasticsearch/files/logging.yml +0 -0
- data/{puppet → data/puppet}/modules/elasticsearch/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/erlang/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/ghc/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/git/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/golang/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/htop/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/java/files/accept-java-license.sh +0 -0
- data/data/puppet/modules/java/files/install-java7.sh +7 -0
- data/data/puppet/modules/java/files/install-java8.sh +7 -0
- data/{puppet → data/puppet}/modules/java/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/links/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/llvm/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/lynx/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/mc/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/memcache/files/memcached.conf +0 -0
- data/{puppet → data/puppet}/modules/memcache/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/mongodb/files/mongodb.conf +0 -0
- data/{puppet → data/puppet}/modules/mongodb/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/mosh/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/mysql/files/conf.d/mysqld_safe_syslog.cnf +0 -0
- data/{puppet → data/puppet}/modules/mysql/files/debian.cnf +0 -0
- data/{puppet → data/puppet}/modules/mysql/files/my.cnf +0 -0
- data/{puppet → data/puppet}/modules/mysql/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/nginx/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/nodejs/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/octave/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/ops/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/php5/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/environment +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/pg_ctl.conf +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/pg_hba.conf +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/pg_ident.conf +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/postgresql.conf +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/9.3/main/start.conf +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/create-postgresql-user.sh +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/sql/bootstrap.sh +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/sql/create-extension-adminpack.sql +0 -0
- data/{puppet → data/puppet}/modules/postgresql/files/sql/create-extension-postgis.sql +0 -0
- data/{puppet → data/puppet}/modules/postgresql/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/python/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/r/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/rabbitmq/files/enable-user-management.sh +0 -0
- data/{puppet → data/puppet}/modules/rabbitmq/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/redis/files/memcached.conf +0 -0
- data/{puppet → data/puppet}/modules/redis/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/ruby/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/rvm/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/science/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/squid/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/svn/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/tomcat7/files/tomcat-users.xml +0 -0
- data/{puppet → data/puppet}/modules/tomcat7/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/varnish/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/web/manifests/init.pp +0 -0
- data/{puppet → data/puppet}/modules/zookeeper/files/conf/configuration.xsl +0 -0
- data/{puppet → data/puppet}/modules/zookeeper/files/conf/environment +0 -0
- data/{puppet → data/puppet}/modules/zookeeper/files/conf/log4j.properties +0 -0
- data/{puppet → data/puppet}/modules/zookeeper/files/conf/zoo.cfg +0 -0
- data/{puppet → data/puppet}/modules/zookeeper/manifests/init.pp +0 -0
- data/{vagrant → data/vagrant}/profiles/default.json +0 -0
- data/lib/apollon.rb +3 -1
- data/lib/apollon/cli/app.rb +38 -0
- data/lib/apollon/cli/cli.rb +7 -0
- data/lib/apollon/cli/cmd/provider_cmd.rb +28 -0
- data/lib/apollon/cli/cmd/puppet_cmd.rb +54 -0
- data/lib/apollon/cli/shared.rb +12 -0
- data/lib/apollon/core/core.rb +1 -1
- data/lib/apollon/extensions/string.rb +43 -0
- data/lib/apollon/helpers/helpers.rb +6 -4
- data/lib/apollon/lib.rb +3 -4
- data/lib/apollon/provider/provider.rb +23 -0
- data/lib/apollon/provider/providers/aws.rb +8 -0
- data/lib/apollon/provider/providers/digital_ocean.rb +8 -0
- data/lib/apollon/provider/providers/virtualbox.rb +8 -0
- data/lib/apollon/puppet/core.rb +40 -0
- data/lib/apollon/{provisions/provisions.rb → puppet/puppet.rb} +1 -1
- data/lib/apollon/version.rb +2 -1
- data/spec/spec_helper.rb +44 -0
- data/spec/unit/cli/cli_spec.rb +7 -0
- metadata +256 -123
- data/Gemfile.lock +0 -87
- data/lib/apollon/app/app.rb +0 -1
- data/lib/apollon/provisions/puppet.rb +0 -1
- data/puppet/modules/java/files/install-java7.sh +0 -7
- data/puppet/modules/java/files/install-java8.sh +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d24e705ce5316677144e6b4d7875ed9cfdfb3484
|
|
4
|
+
data.tar.gz: 2427636cba466a0ee4dca0ad9c11786434a4fefb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0ce941f0879ff916ac18ff806c487e69977567e5f8de5211ad8dffc4af055559c33c2f941018f67539832347ae78fd1ab39bac472d563709f18df3268df7549
|
|
7
|
+
data.tar.gz: ce01703a979ccb002f3bc8f3308c8a9ded37f51164c5106b1ab1340a7ec3517a33771c1b34845dc1e7ab6d395af2e7f35711068406fcaca7bae30be8995f0af2
|
data/.gemspec
CHANGED
|
@@ -26,10 +26,17 @@ Gem::Specification.new do |s|
|
|
|
26
26
|
|
|
27
27
|
s.add_dependency 'aws-sdk-core', '~> 2.0.0.rc7'
|
|
28
28
|
s.add_dependency 'digitalocean', '~> 1.1', '>= 1.1.0'
|
|
29
|
+
s.add_dependency 'fog', '~> 1.22', '>= 1.22.1'
|
|
30
|
+
s.add_dependency 'gli', '~> 2.11', '>= 2.11.0'
|
|
29
31
|
s.add_dependency 'json_pure', '~> 1.8', '>= 1.8.1'
|
|
30
32
|
s.add_dependency 'librarian-puppet', '~> 1.1', '>= 1.1.2'
|
|
31
33
|
s.add_dependency 'multi_json', '~> 1.10', '>= 1.10.1'
|
|
32
|
-
s.add_dependency 'prettyprint', '~> 0.0', '>= 0.0.1'
|
|
33
34
|
s.add_dependency 'puppet', '~> 3.6', '>= 3.6.2'
|
|
34
35
|
s.add_dependency 'rake', '~> 10.3', '>= 10.3.2'
|
|
36
|
+
s.add_dependency 'terminal-table', '~> 1.4', '>= 1.4.5'
|
|
37
|
+
|
|
38
|
+
s.add_development_dependency 'coveralls', '~> 0.7', '>= 0.7.0r'
|
|
39
|
+
s.add_development_dependency 'rspec', '~> 3.0', '>= 3.0.0'
|
|
40
|
+
s.add_development_dependency 'rubocop', '~> 0.24', '>= 0.24.0'
|
|
41
|
+
s.add_development_dependency 'simplecov', '~> 0.8', '>= 0.8.2'
|
|
35
42
|
end
|
data/.gitignore
CHANGED
data/.rspec
ADDED
data/.travis.yml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
language: ruby
|
|
2
|
+
|
|
3
|
+
rvm:
|
|
4
|
+
- 1.9.3
|
|
5
|
+
- ruby-head
|
|
6
|
+
- jruby-19mode
|
|
7
|
+
|
|
8
|
+
before_install:
|
|
9
|
+
- echo "Installing puppet"
|
|
10
|
+
- sudo apt-get install unzip -q -yy
|
|
11
|
+
- sudo apt-get install puppet -q -yy
|
|
12
|
+
- echo "Running puppet"
|
|
13
|
+
- sudo puppet apply -v --debug --modulepath="data/puppet/modules" data/puppet/manifests/core.pp
|
|
14
|
+
- echo "Updating rubygems"
|
|
15
|
+
- gem update --system
|
|
16
|
+
- echo "Updating bundler"
|
|
17
|
+
- gem update bundler
|
|
18
|
+
- echo "Installing packer.io"
|
|
19
|
+
- mkdir packer
|
|
20
|
+
- cd packer
|
|
21
|
+
- wget https://dl.bintray.com/mitchellh/packer/0.6.1_linux_386.zip
|
|
22
|
+
- sudo unzip 0.6.1_linux_386.zip
|
|
23
|
+
- export PATH=$PATH:`pwd`
|
|
24
|
+
- packer -v
|
|
25
|
+
- cd ..
|
|
26
|
+
|
|
27
|
+
script: rake ci
|
data/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# apollon
|
|
2
2
|
|
|
3
3
|
Vagrant box containing lot of tools and libs for data science
|
|
4
4
|
|
|
5
5
|
## Status
|
|
6
6
|
|
|
7
|
-
[](http://badge.fury.io/rb/apollon)
|
|
8
|
+
[](https://gemnasium.com/korczis/apollon)
|
|
9
|
+
[](https://codeclimate.com/github/korczis/apollon)
|
|
10
|
+
[](https://travis-ci.org/korczis/apollon)
|
|
11
|
+
[](https://coveralls.io/r/korczis/apollon?branch=master)
|
|
8
12
|
|
|
9
13
|
## About
|
|
10
14
|
|
|
@@ -16,17 +20,17 @@ Yes. You know what.
|
|
|
16
20
|
2. You realize you need to setup development environment with all the tools and stuff.
|
|
17
21
|
|
|
18
22
|
That is what this fat boy is here for.
|
|
19
|
-
It can be made up and running with [few commands](https://github.com/korczis/
|
|
23
|
+
It can be made up and running with [few commands](https://github.com/korczis/apollon#getting-started).
|
|
20
24
|
|
|
21
25
|
## What is included
|
|
22
26
|
|
|
23
|
-
Lot of useful stuff, for full list see [WHATS_IN.md](https://github.com/korczis/
|
|
27
|
+
Lot of useful stuff, for full list see [WHATS_IN.md](https://github.com/korczis/apollon/blob/master/WHATS_IN.md)
|
|
24
28
|
|
|
25
29
|
- Databases - couchdb, memcached, mongodb, postgresql, redis, ...
|
|
26
30
|
- Programming Languages - c, c++, clojure, node.js, ruby/rvm, scala, ...
|
|
27
31
|
- Tools - mocha, ...
|
|
28
32
|
|
|
29
|
-
Again, for full list see [WHATS_IN.md](https://github.com/korczis/
|
|
33
|
+
Again, for full list see [WHATS_IN.md](https://github.com/korczis/apollon/blob/master/WHATS_IN.md)
|
|
30
34
|
|
|
31
35
|
## Automagically forwarded services
|
|
32
36
|
|
|
@@ -63,10 +67,10 @@ That means that you can access them using [http://localhost:{HostPortNumer}](htt
|
|
|
63
67
|
|
|
64
68
|
```
|
|
65
69
|
# Clone this repo containging Vagrantfile with vagrant settings
|
|
66
|
-
git clone https://github.com/korczis/
|
|
70
|
+
git clone https://github.com/korczis/apollon.git
|
|
67
71
|
|
|
68
72
|
# Enter the folder with Vagrantfile, be aware of trailing box folder in path!
|
|
69
|
-
cd
|
|
73
|
+
cd apollon
|
|
70
74
|
|
|
71
75
|
# Kick off the vagrant up process
|
|
72
76
|
vagrant up
|
|
@@ -92,7 +96,7 @@ vagrant destroy
|
|
|
92
96
|
|
|
93
97
|
## TODO
|
|
94
98
|
|
|
95
|
-
For list of TODO stuff see [TODO.md](https://github.com/korczis/
|
|
99
|
+
For list of TODO stuff see [TODO.md](https://github.com/korczis/apollon/blob/master/TODO.md)
|
|
96
100
|
|
|
97
101
|
## Credits
|
|
98
102
|
|
data/Rakefile
CHANGED
|
@@ -1,11 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
|
|
3
|
+
require 'rubygems'
|
|
4
|
+
|
|
5
|
+
require 'bundler/setup'
|
|
6
|
+
require 'bundler/gem_tasks'
|
|
7
|
+
|
|
8
|
+
require 'coveralls/rake/task'
|
|
9
|
+
|
|
10
|
+
require 'rspec/core/rake_task'
|
|
11
|
+
|
|
12
|
+
Coveralls::RakeTask.new
|
|
13
|
+
|
|
14
|
+
RSpec::Core::RakeTask.new(:test)
|
|
15
|
+
|
|
16
|
+
desc 'Run continuous integration test'
|
|
17
|
+
task :ci do
|
|
18
|
+
Rake::Task['test:unit'].invoke
|
|
19
|
+
# unless ENV['TRAVIS'] == 'true' && ENV['TRAVIS_SECURE_ENV_VARS'] == 'false'
|
|
20
|
+
# Rake::Task['test:integration'].invoke
|
|
21
|
+
# end
|
|
22
|
+
Rake::Task['test:cop'].invoke if RUBY_VERSION.start_with?('2.2') == false
|
|
23
|
+
Rake::Task['coveralls:push'].invoke
|
|
4
24
|
end
|
|
5
25
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
26
|
+
desc 'Run Rubocop'
|
|
27
|
+
task :cop do
|
|
28
|
+
exec 'rubocop lib/'
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
namespace :test do
|
|
32
|
+
desc 'Run unit tests'
|
|
33
|
+
RSpec::Core::RakeTask.new(:unit) do |t|
|
|
34
|
+
t.pattern = 'spec/unit/**/*.rb'
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
desc "Run coding style tests"
|
|
38
|
+
RSpec::Core::RakeTask.new(:cop) do |t|
|
|
39
|
+
Rake::Task['cop'].invoke
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
task :all => [:unit, :cop]
|
|
9
43
|
end
|
|
10
44
|
|
|
11
45
|
desc 'Prepare required vagrant dependencies on local machine'
|
|
@@ -13,7 +47,17 @@ task :prepare do
|
|
|
13
47
|
exec 'vagrant plugin install vagrant-digitalocean'
|
|
14
48
|
end
|
|
15
49
|
|
|
16
|
-
|
|
50
|
+
desc 'Get all tasks'
|
|
51
|
+
task :tasklist do
|
|
52
|
+
puts Rake.application.tasks
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
task :usage do
|
|
56
|
+
puts 'No rake task specified, use rake -T to list them'
|
|
57
|
+
# puts "No rake task specified so listing them ..."
|
|
58
|
+
# Rake.application['tasklist'].invoke
|
|
59
|
+
end
|
|
60
|
+
task :default => [:usage]
|
|
17
61
|
|
|
18
62
|
if $0 == __FILE__
|
|
19
63
|
Rake.application['usage'].invoke
|
data/Vagrantfile
CHANGED
|
@@ -69,7 +69,7 @@ Vagrant.configure("2") do |config|
|
|
|
69
69
|
# provider.api_key = ''
|
|
70
70
|
# end
|
|
71
71
|
|
|
72
|
-
provisions = node_def['
|
|
72
|
+
provisions = node_def['puppet'] || []
|
|
73
73
|
provisions.each do |provision|
|
|
74
74
|
if provision['name'] === 'puppet'
|
|
75
75
|
node.vm.provision :puppet do |puppet|
|
data/bin/apollon
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This is example Apollofile
|
|
2
|
+
|
|
3
|
+
# Creates server
|
|
4
|
+
# Installs nginx
|
|
5
|
+
# Installs nodejs
|
|
6
|
+
# Installs forever
|
|
7
|
+
# Downloads node app from git
|
|
8
|
+
# Install all required packages - npm, bower
|
|
9
|
+
# Compiles assets
|
|
10
|
+
# Runs test
|
|
11
|
+
# Forever launches application beyond the nginx
|
|
12
|
+
|
|
13
|
+
apollon.server.create do |s|
|
|
14
|
+
# TODO: Setup server here
|
|
15
|
+
end
|
|
16
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -4,5 +4,5 @@ packer build \
|
|
|
4
4
|
-only=digitalocean \
|
|
5
5
|
-var "digitalocean_id=$DIGITALOCEAN_ID" \
|
|
6
6
|
-var "digitalocean_api_key=$DIGITALOCEAN_API_KEY" \
|
|
7
|
-
-var "puppet_manifest_file=../../puppet/manifests/sites/apollocrawler.com.pp"
|
|
7
|
+
-var "puppet_manifest_file=../../puppet/manifests/sites/apollocrawler.com.pp" \
|
|
8
8
|
packer.json
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -23,13 +23,13 @@ class core {
|
|
|
23
23
|
require => [
|
|
24
24
|
File['/etc/apt/sources.list'],
|
|
25
25
|
],
|
|
26
|
-
command => "/usr/bin/apt-get update",
|
|
26
|
+
command => "/usr/bin/apt-get update -q -yy",
|
|
27
27
|
timeout => 3600,
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
exec { "update-certs":
|
|
31
31
|
require => Exec['update-sources'],
|
|
32
|
-
command => "/usr/bin/apt-get install --reinstall ca-certificates",
|
|
32
|
+
command => "/usr/bin/apt-get install -q -yy --reinstall ca-certificates",
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
exec { "add-webupd8team-java-ppa":
|
|
@@ -42,14 +42,15 @@ class core {
|
|
|
42
42
|
Exec['add-webupd8team-java-ppa'],
|
|
43
43
|
Exec['update-sources']
|
|
44
44
|
],
|
|
45
|
-
command => "/usr/bin/apt-get update",
|
|
45
|
+
command => "/usr/bin/apt-get update -yy",
|
|
46
46
|
timeout => 3600,
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
exec { "apt-upgrade":
|
|
50
50
|
require => Exec['apt-update'],
|
|
51
|
-
command => "/usr/bin/apt-get upgrade -
|
|
51
|
+
command => "/usr/bin/apt-get upgrade -yy --force-yes -qq",
|
|
52
52
|
timeout => 3600,
|
|
53
|
+
logoutput => on_failure
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
exec { "core-done":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|