corl 0.4.29 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/Gemfile.lock +16 -13
- data/VERSION +1 -1
- data/bin/corl +21 -1
- data/bootstrap/os/ubuntu/00_base.sh +2 -2
- data/bootstrap/os/ubuntu/06_puppet.sh +7 -12
- data/bootstrap/os/ubuntu/09_nucleon.sh +1 -1
- data/bootstrap/os/ubuntu/10_corl.sh +1 -4
- data/corl.gemspec +193 -40
- data/lib/CORL/builder/identity.rb +68 -0
- data/lib/CORL/builder/package.rb +75 -0
- data/lib/CORL/configuration/file.rb +5 -5
- data/lib/CORL/machine/{aws.rb → AWS.rb} +2 -2
- data/lib/CORL/machine/physical.rb +1 -1
- data/lib/CORL/machine/rackspace.rb +1 -1
- data/lib/CORL/machine/vagrant.rb +2 -2
- data/lib/CORL/network/{default.rb → CORL.rb} +1 -1
- data/lib/CORL/node/{aws.rb → AWS.rb} +1 -1
- data/lib/CORL/node/local.rb +1 -1
- data/lib/CORL/node/vagrant.rb +7 -2
- data/lib/CORL/provisioner/puppetnode.rb +139 -131
- data/lib/core/build.rb +112 -0
- data/lib/core/facade.rb +48 -8
- data/lib/core/mixin/builder.rb +158 -0
- data/lib/core/mixin/lookup.rb +51 -20
- data/lib/core/mixin/machine/ssh.rb +16 -4
- data/lib/core/plugin/builder.rb +49 -0
- data/lib/core/plugin/{action.rb → cloud_action.rb} +22 -16
- data/lib/core/plugin/configuration.rb +9 -3
- data/lib/core/plugin/fog_machine.rb +3 -3
- data/lib/core/plugin/fog_node.rb +1 -1
- data/lib/core/plugin/machine.rb +2 -2
- data/lib/core/plugin/network.rb +39 -10
- data/lib/core/plugin/node.rb +95 -35
- data/lib/core/plugin/provisioner.rb +133 -113
- data/lib/core/util/puppet/resource.rb +1 -1
- data/lib/core/vagrant/actions/delete_cache.rb +7 -1
- data/lib/core/vagrant/commands/launcher.rb +2 -2
- data/lib/core/vagrant/config.rb +29 -2
- data/lib/corl.rb +9 -8
- data/lib/facter/corl_config_ready.rb +1 -1
- data/lib/facter/vagrant_exists.rb +1 -1
- data/lib/nucleon/action/cloud/create.rb +51 -0
- data/lib/nucleon/action/cloud/hiera.rb +61 -0
- data/lib/{CORL/action → nucleon/action/cloud}/images.rb +11 -2
- data/lib/nucleon/action/cloud/inspect.rb +47 -0
- data/lib/{CORL/action → nucleon/action/cloud}/machines.rb +11 -2
- data/lib/{CORL/action → nucleon/action/cloud}/regions.rb +11 -2
- data/lib/{CORL/action → nucleon/action/cloud}/vagrantfile.rb +11 -2
- data/lib/{CORL/action/ip.rb → nucleon/action/node/IP.rb} +11 -2
- data/lib/{CORL/action/ssh.rb → nucleon/action/node/SSH.rb} +15 -7
- data/lib/{CORL/action → nucleon/action/node}/authorize.rb +11 -2
- data/lib/{CORL/action → nucleon/action/node}/bootstrap.rb +13 -4
- data/lib/nucleon/action/node/build.rb +49 -0
- data/lib/{CORL/action → nucleon/action/node}/destroy.rb +14 -5
- data/lib/{CORL/action → nucleon/action/node}/exec.rb +11 -2
- data/lib/{CORL/action → nucleon/action/node}/facts.rb +12 -3
- data/lib/{CORL/action → nucleon/action/node}/image.rb +13 -4
- data/lib/nucleon/action/node/keypair.rb +85 -0
- data/lib/{CORL/action → nucleon/action/node}/lookup.rb +13 -4
- data/lib/{CORL/action → nucleon/action/node}/provision.rb +30 -8
- data/lib/{CORL/action → nucleon/action/node}/reboot.rb +13 -4
- data/lib/{CORL/action → nucleon/action/node}/revoke.rb +11 -2
- data/lib/{CORL/action → nucleon/action/node}/seed.rb +13 -4
- data/lib/{CORL/action → nucleon/action/node}/spawn.rb +19 -9
- data/lib/{CORL/action → nucleon/action/node}/start.rb +13 -4
- data/lib/{CORL/action → nucleon/action/node}/stop.rb +13 -4
- data/lib/{CORL → nucleon}/event/puppet.rb +2 -2
- data/lib/{CORL → nucleon}/template/environment.rb +2 -2
- data/lib/puppet/indirector/corl.rb +7 -4
- data/lib/puppet/parser/functions/corl_resources.rb +1 -0
- data/lib/puppet/parser/functions/global_array.rb +2 -1
- data/lib/puppet/parser/functions/global_hash.rb +2 -1
- data/lib/puppet/parser/functions/global_param.rb +2 -1
- data/lib/puppet/parser/functions/module_array.rb +2 -1
- data/lib/puppet/parser/functions/module_hash.rb +3 -2
- data/lib/puppet/parser/functions/module_param.rb +3 -2
- data/lib/puppet/parser/functions/render.rb +1 -0
- data/locales/en.yml +80 -0
- data/rdoc/site/0.4.29/CORL/Action/Authorize.html +485 -0
- data/rdoc/site/0.4.29/CORL/Action/Bootstrap.html +546 -0
- data/rdoc/site/0.4.29/CORL/Action/Build.html +396 -0
- data/rdoc/site/0.4.29/CORL/Action/Destroy.html +515 -0
- data/rdoc/site/0.4.29/CORL/Action/Exec.html +472 -0
- data/rdoc/site/0.4.29/CORL/Action/Facts.html +398 -0
- data/rdoc/site/0.4.29/CORL/Action/Image.html +515 -0
- data/rdoc/site/0.4.29/CORL/Action/Images.html +514 -0
- data/rdoc/site/0.4.29/CORL/Action/Ip.html +395 -0
- data/rdoc/site/0.4.29/CORL/Action/Keypair.html +494 -0
- data/rdoc/site/0.4.29/CORL/Action/Lookup.html +474 -0
- data/rdoc/site/0.4.29/CORL/Action/Machines.html +509 -0
- data/rdoc/site/0.4.29/CORL/Action/Provision.html +456 -0
- data/rdoc/site/0.4.29/CORL/Action/Reboot.html +515 -0
- data/rdoc/site/0.4.29/CORL/Action/Regions.html +509 -0
- data/rdoc/site/0.4.29/CORL/Action/Revoke.html +483 -0
- data/rdoc/site/0.4.29/CORL/Action/Seed.html +544 -0
- data/rdoc/site/0.4.29/CORL/Action/Spawn.html +616 -0
- data/rdoc/site/0.4.29/CORL/Action/Ssh.html +526 -0
- data/rdoc/site/0.4.29/CORL/Action/Start.html +515 -0
- data/rdoc/site/0.4.29/CORL/Action/Stop.html +515 -0
- data/rdoc/site/0.4.29/CORL/Action/Vagrantfile.html +457 -0
- data/rdoc/site/0.4.29/CORL/Action.html +360 -0
- data/rdoc/site/0.4.29/CORL/Configuration/File.html +1128 -0
- data/rdoc/site/0.4.29/CORL/Configuration.html +339 -0
- data/rdoc/site/0.4.29/CORL/Errors.html +339 -0
- data/rdoc/site/0.4.29/CORL/Event/Puppet.html +673 -0
- data/rdoc/site/0.4.29/CORL/Event.html +339 -0
- data/rdoc/site/0.4.29/CORL/Facade.html +742 -0
- data/rdoc/site/0.4.29/CORL/Machine/Aws.html +733 -0
- data/rdoc/site/0.4.29/CORL/Machine/Fog.html +1269 -0
- data/rdoc/site/0.4.29/CORL/Machine/Physical.html +1039 -0
- data/rdoc/site/0.4.29/CORL/Machine/Rackspace.html +514 -0
- data/rdoc/site/0.4.29/CORL/Machine/Vagrant.html +1300 -0
- data/rdoc/site/0.4.29/CORL/Machine.html +343 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Action/Keypair.html +572 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Action.html +339 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Lookup.html +954 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Machine/SSH.html +643 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Machine.html +339 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Macro/NetworkSettings.html +464 -0
- data/rdoc/site/0.4.29/CORL/Mixin/Macro.html +339 -0
- data/rdoc/site/0.4.29/CORL/Mixin.html +342 -0
- data/rdoc/site/0.4.29/CORL/Network/Default.html +391 -0
- data/rdoc/site/0.4.29/CORL/Network.html +339 -0
- data/rdoc/site/0.4.29/CORL/Node/Aws.html +716 -0
- data/rdoc/site/0.4.29/CORL/Node/Fog.html +1192 -0
- data/rdoc/site/0.4.29/CORL/Node/Local.html +424 -0
- data/rdoc/site/0.4.29/CORL/Node/Rackspace.html +709 -0
- data/rdoc/site/0.4.29/CORL/Node/Vagrant.html +1451 -0
- data/rdoc/site/0.4.29/CORL/Node.html +343 -0
- data/rdoc/site/0.4.29/CORL/Plugin/CloudAction.html +810 -0
- data/rdoc/site/0.4.29/CORL/Plugin.html +339 -0
- data/rdoc/site/0.4.29/CORL/Provisioner/Puppetnode.html +1095 -0
- data/rdoc/site/0.4.29/CORL/Provisioner.html +339 -0
- data/rdoc/site/0.4.29/CORL/Template/Environment.html +528 -0
- data/rdoc/site/0.4.29/CORL/Template.html +339 -0
- data/rdoc/site/0.4.29/CORL/Util/Puppet/Resource.html +1038 -0
- data/rdoc/site/0.4.29/CORL/Util/Puppet/ResourceGroup.html +920 -0
- data/rdoc/site/0.4.29/CORL/Util/Puppet.html +1087 -0
- data/rdoc/site/0.4.29/CORL/Util.html +341 -0
- data/rdoc/site/0.4.29/CORL/Vagrant/Config.html +896 -0
- data/rdoc/site/0.4.29/CORL/Vagrant.html +418 -0
- data/rdoc/site/0.4.29/CORL.html +465 -0
- data/rdoc/site/0.4.29/Facter/Util/Loader.html +396 -0
- data/rdoc/site/0.4.29/Facter/Util.html +339 -0
- data/rdoc/site/0.4.29/Facter.html +339 -0
- data/rdoc/site/0.4.29/Fog/Compute/AWS/Server.html +423 -0
- data/rdoc/site/0.4.29/Fog/Compute/AWS.html +345 -0
- data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2/Server.html +408 -0
- data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2.html +345 -0
- data/rdoc/site/0.4.29/Fog/Compute.html +340 -0
- data/rdoc/site/0.4.29/Fog.html +340 -0
- data/rdoc/site/0.4.29/Hiera/Backend.html +422 -0
- data/rdoc/site/0.4.29/Hiera/Corl_logger.html +449 -0
- data/rdoc/site/0.4.29/Hiera.html +346 -0
- data/rdoc/site/0.4.29/Nucleon/Config.html +357 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Base.html +345 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Configuration.html +1213 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Machine.html +1279 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Network.html +1425 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Node.html +3715 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin/Provisioner.html +1297 -0
- data/rdoc/site/0.4.29/Nucleon/Plugin.html +344 -0
- data/rdoc/site/0.4.29/Nucleon.html +344 -0
- data/rdoc/site/0.4.29/Object.html +358 -0
- data/rdoc/site/0.4.29/Puppet/DataBinding/Corl.html +345 -0
- data/rdoc/site/0.4.29/Puppet/DataBinding.html +338 -0
- data/rdoc/site/0.4.29/Puppet/Indirector/Corl.html +454 -0
- data/rdoc/site/0.4.29/Puppet/Indirector.html +338 -0
- data/rdoc/site/0.4.29/Puppet/Parser/Functions.html +480 -0
- data/rdoc/site/0.4.29/Puppet/Parser.html +338 -0
- data/rdoc/site/0.4.29/Puppet.html +338 -0
- data/rdoc/site/0.4.29/README_rdoc.html +340 -0
- data/rdoc/site/0.4.29/Vagrant/Config/Loader.html +399 -0
- data/rdoc/site/0.4.29/Vagrant/Config.html +339 -0
- data/rdoc/site/0.4.29/Vagrant/Vagrantfile.html +392 -0
- data/rdoc/site/0.4.29/Vagrant.html +346 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/DeleteCache.html +396 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/InitKeys.html +408 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/LinkNetwork.html +406 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action.html +341 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/BaseAction.html +491 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command/Launcher.html +533 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command.html +339 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config/CORL.html +732 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config.html +339 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Plugin.html +345 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner/CORL.html +536 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner.html +339 -0
- data/rdoc/site/0.4.29/VagrantPlugins/CORL.html +346 -0
- data/rdoc/site/0.4.29/VagrantPlugins.html +346 -0
- data/rdoc/site/0.4.29/created.rid +96 -0
- data/rdoc/site/0.4.29/images/add.png +0 -0
- data/rdoc/site/0.4.29/images/brick.png +0 -0
- data/rdoc/site/0.4.29/images/brick_link.png +0 -0
- data/rdoc/site/0.4.29/images/bug.png +0 -0
- data/rdoc/site/0.4.29/images/bullet_black.png +0 -0
- data/rdoc/site/0.4.29/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.4.29/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.4.29/images/date.png +0 -0
- data/rdoc/site/0.4.29/images/delete.png +0 -0
- data/rdoc/site/0.4.29/images/find.png +0 -0
- data/rdoc/site/0.4.29/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.4.29/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.4.29/images/package.png +0 -0
- data/rdoc/site/0.4.29/images/page_green.png +0 -0
- data/rdoc/site/0.4.29/images/page_white_text.png +0 -0
- data/rdoc/site/0.4.29/images/page_white_width.png +0 -0
- data/rdoc/site/0.4.29/images/plugin.png +0 -0
- data/rdoc/site/0.4.29/images/ruby.png +0 -0
- data/rdoc/site/0.4.29/images/tag_blue.png +0 -0
- data/rdoc/site/0.4.29/images/tag_green.png +0 -0
- data/rdoc/site/0.4.29/images/transparent.png +0 -0
- data/rdoc/site/0.4.29/images/wrench.png +0 -0
- data/rdoc/site/0.4.29/images/wrench_orange.png +0 -0
- data/rdoc/site/0.4.29/images/zoom.png +0 -0
- data/rdoc/site/0.4.29/index.html +339 -0
- data/rdoc/site/0.4.29/js/darkfish.js +155 -0
- data/rdoc/site/0.4.29/js/jquery.js +18 -0
- data/rdoc/site/0.4.29/js/navigation.js +142 -0
- data/rdoc/site/0.4.29/js/search.js +94 -0
- data/rdoc/site/0.4.29/js/search_index.js +1 -0
- data/rdoc/site/0.4.29/js/searcher.js +228 -0
- data/rdoc/site/0.4.29/rdoc.css +543 -0
- data/rdoc/site/0.4.29/table_of_contents.html +1561 -0
- metadata +192 -45
- data/lib/CORL/action/build.rb +0 -22
- data/lib/CORL/action/keypair.rb +0 -56
- data/lib/core/mod/facter_loader.rb +0 -15
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Webb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nucleon
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.0
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0.
|
22
|
+
version: '0.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.2.0
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0.
|
32
|
+
version: '0.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: fog
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1
|
67
|
+
version: '2.1'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ~>
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '1
|
74
|
+
version: '2.1'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: hiera
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,22 +90,16 @@ dependencies:
|
|
90
90
|
name: puppet
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - <=
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 3.4.3
|
96
93
|
- - ~>
|
97
94
|
- !ruby/object:Gem::Version
|
98
|
-
version: '3.
|
95
|
+
version: '3.6'
|
99
96
|
type: :runtime
|
100
97
|
prerelease: false
|
101
98
|
version_requirements: !ruby/object:Gem::Requirement
|
102
99
|
requirements:
|
103
|
-
- - <=
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: 3.4.3
|
106
100
|
- - ~>
|
107
101
|
- !ruby/object:Gem::Version
|
108
|
-
version: '3.
|
102
|
+
version: '3.6'
|
109
103
|
- !ruby/object:Gem::Dependency
|
110
104
|
name: bundler
|
111
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,52 +220,32 @@ files:
|
|
226
220
|
- bootstrap/os/ubuntu/09_nucleon.sh
|
227
221
|
- bootstrap/os/ubuntu/10_corl.sh
|
228
222
|
- corl.gemspec
|
229
|
-
- lib/CORL/
|
230
|
-
- lib/CORL/
|
231
|
-
- lib/CORL/action/build.rb
|
232
|
-
- lib/CORL/action/destroy.rb
|
233
|
-
- lib/CORL/action/exec.rb
|
234
|
-
- lib/CORL/action/facts.rb
|
235
|
-
- lib/CORL/action/image.rb
|
236
|
-
- lib/CORL/action/images.rb
|
237
|
-
- lib/CORL/action/ip.rb
|
238
|
-
- lib/CORL/action/keypair.rb
|
239
|
-
- lib/CORL/action/lookup.rb
|
240
|
-
- lib/CORL/action/machines.rb
|
241
|
-
- lib/CORL/action/provision.rb
|
242
|
-
- lib/CORL/action/reboot.rb
|
243
|
-
- lib/CORL/action/regions.rb
|
244
|
-
- lib/CORL/action/revoke.rb
|
245
|
-
- lib/CORL/action/seed.rb
|
246
|
-
- lib/CORL/action/spawn.rb
|
247
|
-
- lib/CORL/action/ssh.rb
|
248
|
-
- lib/CORL/action/start.rb
|
249
|
-
- lib/CORL/action/stop.rb
|
250
|
-
- lib/CORL/action/vagrantfile.rb
|
223
|
+
- lib/CORL/builder/identity.rb
|
224
|
+
- lib/CORL/builder/package.rb
|
251
225
|
- lib/CORL/configuration/file.rb
|
252
|
-
- lib/CORL/
|
253
|
-
- lib/CORL/machine/aws.rb
|
226
|
+
- lib/CORL/machine/AWS.rb
|
254
227
|
- lib/CORL/machine/physical.rb
|
255
228
|
- lib/CORL/machine/rackspace.rb
|
256
229
|
- lib/CORL/machine/vagrant.rb
|
257
|
-
- lib/CORL/network/
|
258
|
-
- lib/CORL/node/
|
230
|
+
- lib/CORL/network/CORL.rb
|
231
|
+
- lib/CORL/node/AWS.rb
|
259
232
|
- lib/CORL/node/local.rb
|
260
233
|
- lib/CORL/node/rackspace.rb
|
261
234
|
- lib/CORL/node/vagrant.rb
|
262
235
|
- lib/CORL/provisioner/puppetnode.rb
|
263
|
-
- lib/
|
236
|
+
- lib/core/build.rb
|
264
237
|
- lib/core/errors.rb
|
265
238
|
- lib/core/facade.rb
|
266
239
|
- lib/core/mixin/action/keypair.rb
|
240
|
+
- lib/core/mixin/builder.rb
|
267
241
|
- lib/core/mixin/lookup.rb
|
268
242
|
- lib/core/mixin/machine/ssh.rb
|
269
243
|
- lib/core/mixin/macro/network_settings.rb
|
270
|
-
- lib/core/mod/facter_loader.rb
|
271
244
|
- lib/core/mod/fog_aws_server.rb
|
272
245
|
- lib/core/mod/fog_rackspace_server.rb
|
273
246
|
- lib/core/mod/hiera_backend.rb
|
274
|
-
- lib/core/plugin/
|
247
|
+
- lib/core/plugin/builder.rb
|
248
|
+
- lib/core/plugin/cloud_action.rb
|
275
249
|
- lib/core/plugin/configuration.rb
|
276
250
|
- lib/core/plugin/fog_machine.rb
|
277
251
|
- lib/core/plugin/fog_node.rb
|
@@ -299,6 +273,33 @@ files:
|
|
299
273
|
- lib/facter/custom_facts.rb
|
300
274
|
- lib/facter/vagrant_exists.rb
|
301
275
|
- lib/hiera/corl_logger.rb
|
276
|
+
- lib/nucleon/action/cloud/create.rb
|
277
|
+
- lib/nucleon/action/cloud/hiera.rb
|
278
|
+
- lib/nucleon/action/cloud/images.rb
|
279
|
+
- lib/nucleon/action/cloud/inspect.rb
|
280
|
+
- lib/nucleon/action/cloud/machines.rb
|
281
|
+
- lib/nucleon/action/cloud/regions.rb
|
282
|
+
- lib/nucleon/action/cloud/vagrantfile.rb
|
283
|
+
- lib/nucleon/action/node/IP.rb
|
284
|
+
- lib/nucleon/action/node/SSH.rb
|
285
|
+
- lib/nucleon/action/node/authorize.rb
|
286
|
+
- lib/nucleon/action/node/bootstrap.rb
|
287
|
+
- lib/nucleon/action/node/build.rb
|
288
|
+
- lib/nucleon/action/node/destroy.rb
|
289
|
+
- lib/nucleon/action/node/exec.rb
|
290
|
+
- lib/nucleon/action/node/facts.rb
|
291
|
+
- lib/nucleon/action/node/image.rb
|
292
|
+
- lib/nucleon/action/node/keypair.rb
|
293
|
+
- lib/nucleon/action/node/lookup.rb
|
294
|
+
- lib/nucleon/action/node/provision.rb
|
295
|
+
- lib/nucleon/action/node/reboot.rb
|
296
|
+
- lib/nucleon/action/node/revoke.rb
|
297
|
+
- lib/nucleon/action/node/seed.rb
|
298
|
+
- lib/nucleon/action/node/spawn.rb
|
299
|
+
- lib/nucleon/action/node/start.rb
|
300
|
+
- lib/nucleon/action/node/stop.rb
|
301
|
+
- lib/nucleon/event/puppet.rb
|
302
|
+
- lib/nucleon/template/environment.rb
|
302
303
|
- lib/puppet/indirector/corl.rb
|
303
304
|
- lib/puppet/indirector/data_binding/corl.rb
|
304
305
|
- lib/puppet/parser/functions/corl_include.rb
|
@@ -322,6 +323,152 @@ files:
|
|
322
323
|
- lib/puppet/parser/functions/render.rb
|
323
324
|
- lib/puppet/parser/functions/value.rb
|
324
325
|
- locales/en.yml
|
326
|
+
- rdoc/site/0.4.29/CORL.html
|
327
|
+
- rdoc/site/0.4.29/CORL/Action.html
|
328
|
+
- rdoc/site/0.4.29/CORL/Action/Authorize.html
|
329
|
+
- rdoc/site/0.4.29/CORL/Action/Bootstrap.html
|
330
|
+
- rdoc/site/0.4.29/CORL/Action/Build.html
|
331
|
+
- rdoc/site/0.4.29/CORL/Action/Destroy.html
|
332
|
+
- rdoc/site/0.4.29/CORL/Action/Exec.html
|
333
|
+
- rdoc/site/0.4.29/CORL/Action/Facts.html
|
334
|
+
- rdoc/site/0.4.29/CORL/Action/Image.html
|
335
|
+
- rdoc/site/0.4.29/CORL/Action/Images.html
|
336
|
+
- rdoc/site/0.4.29/CORL/Action/Ip.html
|
337
|
+
- rdoc/site/0.4.29/CORL/Action/Keypair.html
|
338
|
+
- rdoc/site/0.4.29/CORL/Action/Lookup.html
|
339
|
+
- rdoc/site/0.4.29/CORL/Action/Machines.html
|
340
|
+
- rdoc/site/0.4.29/CORL/Action/Provision.html
|
341
|
+
- rdoc/site/0.4.29/CORL/Action/Reboot.html
|
342
|
+
- rdoc/site/0.4.29/CORL/Action/Regions.html
|
343
|
+
- rdoc/site/0.4.29/CORL/Action/Revoke.html
|
344
|
+
- rdoc/site/0.4.29/CORL/Action/Seed.html
|
345
|
+
- rdoc/site/0.4.29/CORL/Action/Spawn.html
|
346
|
+
- rdoc/site/0.4.29/CORL/Action/Ssh.html
|
347
|
+
- rdoc/site/0.4.29/CORL/Action/Start.html
|
348
|
+
- rdoc/site/0.4.29/CORL/Action/Stop.html
|
349
|
+
- rdoc/site/0.4.29/CORL/Action/Vagrantfile.html
|
350
|
+
- rdoc/site/0.4.29/CORL/Configuration.html
|
351
|
+
- rdoc/site/0.4.29/CORL/Configuration/File.html
|
352
|
+
- rdoc/site/0.4.29/CORL/Errors.html
|
353
|
+
- rdoc/site/0.4.29/CORL/Event.html
|
354
|
+
- rdoc/site/0.4.29/CORL/Event/Puppet.html
|
355
|
+
- rdoc/site/0.4.29/CORL/Facade.html
|
356
|
+
- rdoc/site/0.4.29/CORL/Machine.html
|
357
|
+
- rdoc/site/0.4.29/CORL/Machine/Aws.html
|
358
|
+
- rdoc/site/0.4.29/CORL/Machine/Fog.html
|
359
|
+
- rdoc/site/0.4.29/CORL/Machine/Physical.html
|
360
|
+
- rdoc/site/0.4.29/CORL/Machine/Rackspace.html
|
361
|
+
- rdoc/site/0.4.29/CORL/Machine/Vagrant.html
|
362
|
+
- rdoc/site/0.4.29/CORL/Mixin.html
|
363
|
+
- rdoc/site/0.4.29/CORL/Mixin/Action.html
|
364
|
+
- rdoc/site/0.4.29/CORL/Mixin/Action/Keypair.html
|
365
|
+
- rdoc/site/0.4.29/CORL/Mixin/Lookup.html
|
366
|
+
- rdoc/site/0.4.29/CORL/Mixin/Machine.html
|
367
|
+
- rdoc/site/0.4.29/CORL/Mixin/Machine/SSH.html
|
368
|
+
- rdoc/site/0.4.29/CORL/Mixin/Macro.html
|
369
|
+
- rdoc/site/0.4.29/CORL/Mixin/Macro/NetworkSettings.html
|
370
|
+
- rdoc/site/0.4.29/CORL/Network.html
|
371
|
+
- rdoc/site/0.4.29/CORL/Network/Default.html
|
372
|
+
- rdoc/site/0.4.29/CORL/Node.html
|
373
|
+
- rdoc/site/0.4.29/CORL/Node/Aws.html
|
374
|
+
- rdoc/site/0.4.29/CORL/Node/Fog.html
|
375
|
+
- rdoc/site/0.4.29/CORL/Node/Local.html
|
376
|
+
- rdoc/site/0.4.29/CORL/Node/Rackspace.html
|
377
|
+
- rdoc/site/0.4.29/CORL/Node/Vagrant.html
|
378
|
+
- rdoc/site/0.4.29/CORL/Plugin.html
|
379
|
+
- rdoc/site/0.4.29/CORL/Plugin/CloudAction.html
|
380
|
+
- rdoc/site/0.4.29/CORL/Provisioner.html
|
381
|
+
- rdoc/site/0.4.29/CORL/Provisioner/Puppetnode.html
|
382
|
+
- rdoc/site/0.4.29/CORL/Template.html
|
383
|
+
- rdoc/site/0.4.29/CORL/Template/Environment.html
|
384
|
+
- rdoc/site/0.4.29/CORL/Util.html
|
385
|
+
- rdoc/site/0.4.29/CORL/Util/Puppet.html
|
386
|
+
- rdoc/site/0.4.29/CORL/Util/Puppet/Resource.html
|
387
|
+
- rdoc/site/0.4.29/CORL/Util/Puppet/ResourceGroup.html
|
388
|
+
- rdoc/site/0.4.29/CORL/Vagrant.html
|
389
|
+
- rdoc/site/0.4.29/CORL/Vagrant/Config.html
|
390
|
+
- rdoc/site/0.4.29/Facter.html
|
391
|
+
- rdoc/site/0.4.29/Facter/Util.html
|
392
|
+
- rdoc/site/0.4.29/Facter/Util/Loader.html
|
393
|
+
- rdoc/site/0.4.29/Fog.html
|
394
|
+
- rdoc/site/0.4.29/Fog/Compute.html
|
395
|
+
- rdoc/site/0.4.29/Fog/Compute/AWS.html
|
396
|
+
- rdoc/site/0.4.29/Fog/Compute/AWS/Server.html
|
397
|
+
- rdoc/site/0.4.29/Fog/Compute/RackspaceV2.html
|
398
|
+
- rdoc/site/0.4.29/Fog/Compute/RackspaceV2/Server.html
|
399
|
+
- rdoc/site/0.4.29/Hiera.html
|
400
|
+
- rdoc/site/0.4.29/Hiera/Backend.html
|
401
|
+
- rdoc/site/0.4.29/Hiera/Corl_logger.html
|
402
|
+
- rdoc/site/0.4.29/Nucleon.html
|
403
|
+
- rdoc/site/0.4.29/Nucleon/Config.html
|
404
|
+
- rdoc/site/0.4.29/Nucleon/Plugin.html
|
405
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Base.html
|
406
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Configuration.html
|
407
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Machine.html
|
408
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Network.html
|
409
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Node.html
|
410
|
+
- rdoc/site/0.4.29/Nucleon/Plugin/Provisioner.html
|
411
|
+
- rdoc/site/0.4.29/Object.html
|
412
|
+
- rdoc/site/0.4.29/Puppet.html
|
413
|
+
- rdoc/site/0.4.29/Puppet/DataBinding.html
|
414
|
+
- rdoc/site/0.4.29/Puppet/DataBinding/Corl.html
|
415
|
+
- rdoc/site/0.4.29/Puppet/Indirector.html
|
416
|
+
- rdoc/site/0.4.29/Puppet/Indirector/Corl.html
|
417
|
+
- rdoc/site/0.4.29/Puppet/Parser.html
|
418
|
+
- rdoc/site/0.4.29/Puppet/Parser/Functions.html
|
419
|
+
- rdoc/site/0.4.29/README_rdoc.html
|
420
|
+
- rdoc/site/0.4.29/Vagrant.html
|
421
|
+
- rdoc/site/0.4.29/Vagrant/Config.html
|
422
|
+
- rdoc/site/0.4.29/Vagrant/Config/Loader.html
|
423
|
+
- rdoc/site/0.4.29/Vagrant/Vagrantfile.html
|
424
|
+
- rdoc/site/0.4.29/VagrantPlugins.html
|
425
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL.html
|
426
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Action.html
|
427
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Action/DeleteCache.html
|
428
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Action/InitKeys.html
|
429
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Action/LinkNetwork.html
|
430
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/BaseAction.html
|
431
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Command.html
|
432
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Command/Launcher.html
|
433
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Config.html
|
434
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Config/CORL.html
|
435
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Plugin.html
|
436
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner.html
|
437
|
+
- rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner/CORL.html
|
438
|
+
- rdoc/site/0.4.29/created.rid
|
439
|
+
- rdoc/site/0.4.29/images/add.png
|
440
|
+
- rdoc/site/0.4.29/images/brick.png
|
441
|
+
- rdoc/site/0.4.29/images/brick_link.png
|
442
|
+
- rdoc/site/0.4.29/images/bug.png
|
443
|
+
- rdoc/site/0.4.29/images/bullet_black.png
|
444
|
+
- rdoc/site/0.4.29/images/bullet_toggle_minus.png
|
445
|
+
- rdoc/site/0.4.29/images/bullet_toggle_plus.png
|
446
|
+
- rdoc/site/0.4.29/images/date.png
|
447
|
+
- rdoc/site/0.4.29/images/delete.png
|
448
|
+
- rdoc/site/0.4.29/images/find.png
|
449
|
+
- rdoc/site/0.4.29/images/loadingAnimation.gif
|
450
|
+
- rdoc/site/0.4.29/images/macFFBgHack.png
|
451
|
+
- rdoc/site/0.4.29/images/package.png
|
452
|
+
- rdoc/site/0.4.29/images/page_green.png
|
453
|
+
- rdoc/site/0.4.29/images/page_white_text.png
|
454
|
+
- rdoc/site/0.4.29/images/page_white_width.png
|
455
|
+
- rdoc/site/0.4.29/images/plugin.png
|
456
|
+
- rdoc/site/0.4.29/images/ruby.png
|
457
|
+
- rdoc/site/0.4.29/images/tag_blue.png
|
458
|
+
- rdoc/site/0.4.29/images/tag_green.png
|
459
|
+
- rdoc/site/0.4.29/images/transparent.png
|
460
|
+
- rdoc/site/0.4.29/images/wrench.png
|
461
|
+
- rdoc/site/0.4.29/images/wrench_orange.png
|
462
|
+
- rdoc/site/0.4.29/images/zoom.png
|
463
|
+
- rdoc/site/0.4.29/index.html
|
464
|
+
- rdoc/site/0.4.29/js/darkfish.js
|
465
|
+
- rdoc/site/0.4.29/js/jquery.js
|
466
|
+
- rdoc/site/0.4.29/js/navigation.js
|
467
|
+
- rdoc/site/0.4.29/js/search.js
|
468
|
+
- rdoc/site/0.4.29/js/search_index.js
|
469
|
+
- rdoc/site/0.4.29/js/searcher.js
|
470
|
+
- rdoc/site/0.4.29/rdoc.css
|
471
|
+
- rdoc/site/0.4.29/table_of_contents.html
|
325
472
|
- spec/corl_mock_input.rb
|
326
473
|
- spec/corl_test_kernel.rb
|
327
474
|
- spec/spec_helper.rb
|
data/lib/CORL/action/build.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
module CORL
|
3
|
-
module Action
|
4
|
-
class Build < Plugin::CloudAction
|
5
|
-
|
6
|
-
#-----------------------------------------------------------------------------
|
7
|
-
# Settings
|
8
|
-
|
9
|
-
#-----------------------------------------------------------------------------
|
10
|
-
# Operations
|
11
|
-
|
12
|
-
def execute
|
13
|
-
super do |node, network|
|
14
|
-
info('corl.actions.build.start')
|
15
|
-
ensure_node(node) do
|
16
|
-
node.build
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
data/lib/CORL/action/keypair.rb
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
|
2
|
-
module CORL
|
3
|
-
module Action
|
4
|
-
class Keypair < Plugin::CloudAction
|
5
|
-
|
6
|
-
include Mixin::Action::Keypair
|
7
|
-
|
8
|
-
#----------------------------------------------------------------------------
|
9
|
-
# Settings
|
10
|
-
|
11
|
-
def configure
|
12
|
-
super do
|
13
|
-
codes :key_failure
|
14
|
-
|
15
|
-
register :json, :bool, true
|
16
|
-
keypair_config
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
#---
|
21
|
-
|
22
|
-
def ignore
|
23
|
-
node_ignore
|
24
|
-
end
|
25
|
-
|
26
|
-
#-----------------------------------------------------------------------------
|
27
|
-
# Operations
|
28
|
-
|
29
|
-
def execute
|
30
|
-
super do |node, network|
|
31
|
-
if keys = keypair
|
32
|
-
ui.info("\n", { :prefix => false })
|
33
|
-
ui_group(Util::Console.cyan("#{keys.type.upcase} SSH keypair")) do |ui|
|
34
|
-
ui.info("-----------------------------------------------------")
|
35
|
-
|
36
|
-
if settings[:json]
|
37
|
-
private_key = Util::Console.blue(Util::Data.to_json(keys.encrypted_key, true))
|
38
|
-
ssh_key = keys.ssh_key.gsub(/^ssh\-[a-z]+\s+/, '')
|
39
|
-
ssh_key = Util::Console.green(Util::Data.to_json(ssh_key, true))
|
40
|
-
else
|
41
|
-
private_key = Util::Console.blue(keys.encrypted_key)
|
42
|
-
ssh_key = Util::Console.green(keys.ssh_key)
|
43
|
-
end
|
44
|
-
|
45
|
-
ui.info("SSH private key:\n#{private_key}")
|
46
|
-
ui.info("SSH public key:\n#{ssh_key}")
|
47
|
-
ui.info("\n", { :prefix => false })
|
48
|
-
end
|
49
|
-
else
|
50
|
-
myself.status = code.key_failure
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
module Facter
|
3
|
-
module Util
|
4
|
-
class Loader
|
5
|
-
def load_dir(dir)
|
6
|
-
# TODO: If this works submit a patch to Facter project
|
7
|
-
return if dir =~ /\/\.+$/ or dir =~ /\/util$/ or dir =~ /\/core$/ or dir =~ /\/lib$/
|
8
|
-
|
9
|
-
Dir.entries(dir).find_all { |f| f =~ /\.rb$/ }.sort.each do |file|
|
10
|
-
load_file(File.join(dir, file))
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|