corl 0.5.2 → 0.5.3
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 +7 -7
- data/.gitignore +51 -0
- data/Gemfile +6 -11
- data/Gemfile.lock +122 -147
- data/Rakefile +22 -21
- data/TODO.rdoc +12 -0
- data/VERSION +1 -1
- data/bin/corl +15 -21
- data/bootstrap/bootstrap.sh +50 -16
- data/bootstrap/lib/shell/os.sh +2 -2
- data/bootstrap/os/ubuntu/00_base.sh +11 -4
- data/bootstrap/os/ubuntu/01_git.sh +6 -3
- data/bootstrap/os/ubuntu/{02-editor.sh → 02_editor.sh} +8 -2
- data/bootstrap/os/ubuntu/05_ruby.sh +63 -15
- data/bootstrap/os/ubuntu/06_puppet.sh +9 -4
- data/bootstrap/os/ubuntu/09_nucleon.sh +25 -9
- data/bootstrap/os/ubuntu/10_corl.sh +24 -10
- data/corl.gemspec +27 -502
- data/lib/CORL/configuration/file.rb +112 -112
- data/lib/CORL/machine/rackspace.rb +18 -17
- data/lib/core/facade.rb +1 -1
- data/lib/core/plugin/agent.rb +141 -0
- data/lib/core/plugin/cloud_action.rb +67 -62
- data/lib/core/plugin/configuration.rb +71 -70
- data/lib/core/plugin/network.rb +163 -151
- data/lib/core/plugin/node.rb +457 -422
- data/lib/core/vagrant/commands/launcher.rb +13 -13
- data/lib/core/vagrant/provisioner/config.rb +1 -3
- data/lib/nucleon/action/node/bootstrap.rb +21 -16
- data/lib/nucleon/action/node/destroy.rb +13 -13
- data/lib/nucleon/action/node/seed.rb +62 -64
- data/lib/nucleon/action/node/status.rb +39 -32
- data/locales/en.yml +121 -116
- data/spec/spec_helper.rb +1 -4
- metadata +111 -641
- data/.document +0 -5
- data/lib/core/mod/fog_rackspace_server.rb +0 -29
- data/lib/core/vagrant/Vagrantfile +0 -10
- data/lib/nucleon/action/plugin/template/nucleon.action.erb +0 -56
- data/rdoc/site/0.4.29/CORL/Action/Authorize.html +0 -485
- data/rdoc/site/0.4.29/CORL/Action/Bootstrap.html +0 -546
- data/rdoc/site/0.4.29/CORL/Action/Build.html +0 -396
- data/rdoc/site/0.4.29/CORL/Action/Destroy.html +0 -515
- data/rdoc/site/0.4.29/CORL/Action/Exec.html +0 -472
- data/rdoc/site/0.4.29/CORL/Action/Facts.html +0 -398
- data/rdoc/site/0.4.29/CORL/Action/Image.html +0 -515
- data/rdoc/site/0.4.29/CORL/Action/Images.html +0 -514
- data/rdoc/site/0.4.29/CORL/Action/Ip.html +0 -395
- data/rdoc/site/0.4.29/CORL/Action/Keypair.html +0 -494
- data/rdoc/site/0.4.29/CORL/Action/Lookup.html +0 -474
- data/rdoc/site/0.4.29/CORL/Action/Machines.html +0 -509
- data/rdoc/site/0.4.29/CORL/Action/Provision.html +0 -456
- data/rdoc/site/0.4.29/CORL/Action/Reboot.html +0 -515
- data/rdoc/site/0.4.29/CORL/Action/Regions.html +0 -509
- data/rdoc/site/0.4.29/CORL/Action/Revoke.html +0 -483
- data/rdoc/site/0.4.29/CORL/Action/Seed.html +0 -544
- data/rdoc/site/0.4.29/CORL/Action/Spawn.html +0 -616
- data/rdoc/site/0.4.29/CORL/Action/Ssh.html +0 -526
- data/rdoc/site/0.4.29/CORL/Action/Start.html +0 -515
- data/rdoc/site/0.4.29/CORL/Action/Stop.html +0 -515
- data/rdoc/site/0.4.29/CORL/Action/Vagrantfile.html +0 -457
- data/rdoc/site/0.4.29/CORL/Action.html +0 -360
- data/rdoc/site/0.4.29/CORL/Configuration/File.html +0 -1128
- data/rdoc/site/0.4.29/CORL/Configuration.html +0 -339
- data/rdoc/site/0.4.29/CORL/Errors.html +0 -339
- data/rdoc/site/0.4.29/CORL/Event/Puppet.html +0 -673
- data/rdoc/site/0.4.29/CORL/Event.html +0 -339
- data/rdoc/site/0.4.29/CORL/Facade.html +0 -742
- data/rdoc/site/0.4.29/CORL/Machine/Aws.html +0 -733
- data/rdoc/site/0.4.29/CORL/Machine/Fog.html +0 -1269
- data/rdoc/site/0.4.29/CORL/Machine/Physical.html +0 -1039
- data/rdoc/site/0.4.29/CORL/Machine/Rackspace.html +0 -514
- data/rdoc/site/0.4.29/CORL/Machine/Vagrant.html +0 -1300
- data/rdoc/site/0.4.29/CORL/Machine.html +0 -343
- data/rdoc/site/0.4.29/CORL/Mixin/Action/Keypair.html +0 -572
- data/rdoc/site/0.4.29/CORL/Mixin/Action.html +0 -339
- data/rdoc/site/0.4.29/CORL/Mixin/Lookup.html +0 -954
- data/rdoc/site/0.4.29/CORL/Mixin/Machine/SSH.html +0 -643
- data/rdoc/site/0.4.29/CORL/Mixin/Machine.html +0 -339
- data/rdoc/site/0.4.29/CORL/Mixin/Macro/NetworkSettings.html +0 -464
- data/rdoc/site/0.4.29/CORL/Mixin/Macro.html +0 -339
- data/rdoc/site/0.4.29/CORL/Mixin.html +0 -342
- data/rdoc/site/0.4.29/CORL/Network/Default.html +0 -391
- data/rdoc/site/0.4.29/CORL/Network.html +0 -339
- data/rdoc/site/0.4.29/CORL/Node/Aws.html +0 -716
- data/rdoc/site/0.4.29/CORL/Node/Fog.html +0 -1192
- data/rdoc/site/0.4.29/CORL/Node/Local.html +0 -424
- data/rdoc/site/0.4.29/CORL/Node/Rackspace.html +0 -709
- data/rdoc/site/0.4.29/CORL/Node/Vagrant.html +0 -1451
- data/rdoc/site/0.4.29/CORL/Node.html +0 -343
- data/rdoc/site/0.4.29/CORL/Plugin/CloudAction.html +0 -810
- data/rdoc/site/0.4.29/CORL/Plugin.html +0 -339
- data/rdoc/site/0.4.29/CORL/Provisioner/Puppetnode.html +0 -1095
- data/rdoc/site/0.4.29/CORL/Provisioner.html +0 -339
- data/rdoc/site/0.4.29/CORL/Template/Environment.html +0 -528
- data/rdoc/site/0.4.29/CORL/Template.html +0 -339
- data/rdoc/site/0.4.29/CORL/Util/Puppet/Resource.html +0 -1038
- data/rdoc/site/0.4.29/CORL/Util/Puppet/ResourceGroup.html +0 -920
- data/rdoc/site/0.4.29/CORL/Util/Puppet.html +0 -1087
- data/rdoc/site/0.4.29/CORL/Util.html +0 -341
- data/rdoc/site/0.4.29/CORL/Vagrant/Config.html +0 -896
- data/rdoc/site/0.4.29/CORL/Vagrant.html +0 -418
- data/rdoc/site/0.4.29/CORL.html +0 -465
- data/rdoc/site/0.4.29/Facter/Util/Loader.html +0 -396
- data/rdoc/site/0.4.29/Facter/Util.html +0 -339
- data/rdoc/site/0.4.29/Facter.html +0 -339
- data/rdoc/site/0.4.29/Fog/Compute/AWS/Server.html +0 -423
- data/rdoc/site/0.4.29/Fog/Compute/AWS.html +0 -345
- data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2/Server.html +0 -408
- data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2.html +0 -345
- data/rdoc/site/0.4.29/Fog/Compute.html +0 -340
- data/rdoc/site/0.4.29/Fog.html +0 -340
- data/rdoc/site/0.4.29/Hiera/Backend.html +0 -422
- data/rdoc/site/0.4.29/Hiera/Corl_logger.html +0 -449
- data/rdoc/site/0.4.29/Hiera.html +0 -346
- data/rdoc/site/0.4.29/Nucleon/Config.html +0 -357
- data/rdoc/site/0.4.29/Nucleon/Plugin/Base.html +0 -345
- data/rdoc/site/0.4.29/Nucleon/Plugin/Configuration.html +0 -1213
- data/rdoc/site/0.4.29/Nucleon/Plugin/Machine.html +0 -1279
- data/rdoc/site/0.4.29/Nucleon/Plugin/Network.html +0 -1425
- data/rdoc/site/0.4.29/Nucleon/Plugin/Node.html +0 -3715
- data/rdoc/site/0.4.29/Nucleon/Plugin/Provisioner.html +0 -1297
- data/rdoc/site/0.4.29/Nucleon/Plugin.html +0 -344
- data/rdoc/site/0.4.29/Nucleon.html +0 -344
- data/rdoc/site/0.4.29/Object.html +0 -358
- data/rdoc/site/0.4.29/Puppet/DataBinding/Corl.html +0 -345
- data/rdoc/site/0.4.29/Puppet/DataBinding.html +0 -338
- data/rdoc/site/0.4.29/Puppet/Indirector/Corl.html +0 -454
- data/rdoc/site/0.4.29/Puppet/Indirector.html +0 -338
- data/rdoc/site/0.4.29/Puppet/Parser/Functions.html +0 -480
- data/rdoc/site/0.4.29/Puppet/Parser.html +0 -338
- data/rdoc/site/0.4.29/Puppet.html +0 -338
- data/rdoc/site/0.4.29/README_rdoc.html +0 -340
- data/rdoc/site/0.4.29/Vagrant/Config/Loader.html +0 -399
- data/rdoc/site/0.4.29/Vagrant/Config.html +0 -339
- data/rdoc/site/0.4.29/Vagrant/Vagrantfile.html +0 -392
- data/rdoc/site/0.4.29/Vagrant.html +0 -346
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/DeleteCache.html +0 -396
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/InitKeys.html +0 -408
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/LinkNetwork.html +0 -406
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action.html +0 -341
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/BaseAction.html +0 -491
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command/Launcher.html +0 -533
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command.html +0 -339
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config/CORL.html +0 -732
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config.html +0 -339
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Plugin.html +0 -345
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner/CORL.html +0 -536
- data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner.html +0 -339
- data/rdoc/site/0.4.29/VagrantPlugins/CORL.html +0 -346
- data/rdoc/site/0.4.29/VagrantPlugins.html +0 -346
- data/rdoc/site/0.4.29/created.rid +0 -96
- 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 +0 -339
- data/rdoc/site/0.4.29/js/darkfish.js +0 -155
- data/rdoc/site/0.4.29/js/jquery.js +0 -18
- data/rdoc/site/0.4.29/js/navigation.js +0 -142
- data/rdoc/site/0.4.29/js/search.js +0 -94
- data/rdoc/site/0.4.29/js/search_index.js +0 -1
- data/rdoc/site/0.4.29/js/searcher.js +0 -228
- data/rdoc/site/0.4.29/rdoc.css +0 -543
- data/rdoc/site/0.4.29/table_of_contents.html +0 -1561
- data/rdoc/site/0.5.0/CORL/Build.html +0 -757
- data/rdoc/site/0.5.0/CORL/Builder/Identity.html +0 -569
- data/rdoc/site/0.5.0/CORL/Builder/Package.html +0 -576
- data/rdoc/site/0.5.0/CORL/Builder.html +0 -360
- data/rdoc/site/0.5.0/CORL/Configuration/File.html +0 -1148
- data/rdoc/site/0.5.0/CORL/Configuration.html +0 -359
- data/rdoc/site/0.5.0/CORL/Errors.html +0 -359
- data/rdoc/site/0.5.0/CORL/Facade.html +0 -899
- data/rdoc/site/0.5.0/CORL/Machine/AWS.html +0 -753
- data/rdoc/site/0.5.0/CORL/Machine/Fog.html +0 -1289
- data/rdoc/site/0.5.0/CORL/Machine/Physical.html +0 -1059
- data/rdoc/site/0.5.0/CORL/Machine/Rackspace.html +0 -534
- data/rdoc/site/0.5.0/CORL/Machine/Vagrant.html +0 -1320
- data/rdoc/site/0.5.0/CORL/Machine.html +0 -363
- data/rdoc/site/0.5.0/CORL/Mixin/Action/Keypair.html +0 -592
- data/rdoc/site/0.5.0/CORL/Mixin/Action.html +0 -359
- data/rdoc/site/0.5.0/CORL/Mixin/Builder/Global.html +0 -604
- data/rdoc/site/0.5.0/CORL/Mixin/Builder/Instance.html +0 -696
- data/rdoc/site/0.5.0/CORL/Mixin/Builder.html +0 -359
- data/rdoc/site/0.5.0/CORL/Mixin/Lookup.html +0 -1139
- data/rdoc/site/0.5.0/CORL/Mixin/Machine/SSH.html +0 -675
- data/rdoc/site/0.5.0/CORL/Mixin/Machine.html +0 -359
- data/rdoc/site/0.5.0/CORL/Mixin/Macro/NetworkSettings.html +0 -484
- data/rdoc/site/0.5.0/CORL/Mixin/Macro.html +0 -359
- data/rdoc/site/0.5.0/CORL/Mixin.html +0 -363
- data/rdoc/site/0.5.0/CORL/Network/CORL.html +0 -411
- data/rdoc/site/0.5.0/CORL/Network.html +0 -359
- data/rdoc/site/0.5.0/CORL/Node/AWS.html +0 -736
- data/rdoc/site/0.5.0/CORL/Node/Fog.html +0 -1212
- data/rdoc/site/0.5.0/CORL/Node/Local.html +0 -444
- data/rdoc/site/0.5.0/CORL/Node/Rackspace.html +0 -729
- data/rdoc/site/0.5.0/CORL/Node/Vagrant.html +0 -1476
- data/rdoc/site/0.5.0/CORL/Node.html +0 -363
- data/rdoc/site/0.5.0/CORL/Plugin/Builder.html +0 -500
- data/rdoc/site/0.5.0/CORL/Plugin/Configuration.html +0 -1271
- data/rdoc/site/0.5.0/CORL/Plugin/Machine.html +0 -1299
- data/rdoc/site/0.5.0/CORL/Plugin/Network.html +0 -1580
- data/rdoc/site/0.5.0/CORL/Plugin/Node.html +0 -4041
- data/rdoc/site/0.5.0/CORL/Plugin/Provisioner.html +0 -1115
- data/rdoc/site/0.5.0/CORL/Plugin.html +0 -649
- data/rdoc/site/0.5.0/CORL/Provisioner/Puppetnode.html +0 -1177
- data/rdoc/site/0.5.0/CORL/Provisioner.html +0 -359
- data/rdoc/site/0.5.0/CORL/Util/Puppet/Resource.html +0 -1058
- data/rdoc/site/0.5.0/CORL/Util/Puppet/ResourceGroup.html +0 -940
- data/rdoc/site/0.5.0/CORL/Util/Puppet.html +0 -1107
- data/rdoc/site/0.5.0/CORL/Util.html +0 -361
- data/rdoc/site/0.5.0/CORL/Vagrant/Config.html +0 -943
- data/rdoc/site/0.5.0/CORL/Vagrant.html +0 -438
- data/rdoc/site/0.5.0/CORL.html +0 -471
- data/rdoc/site/0.5.0/Fog/Compute/AWS/Server.html +0 -443
- data/rdoc/site/0.5.0/Fog/Compute/AWS.html +0 -365
- data/rdoc/site/0.5.0/Fog/Compute/RackspaceV2/Server.html +0 -428
- data/rdoc/site/0.5.0/Fog/Compute/RackspaceV2.html +0 -365
- data/rdoc/site/0.5.0/Fog/Compute.html +0 -360
- data/rdoc/site/0.5.0/Fog.html +0 -360
- data/rdoc/site/0.5.0/Hiera/Backend.html +0 -442
- data/rdoc/site/0.5.0/Hiera/Corl_logger.html +0 -469
- data/rdoc/site/0.5.0/Hiera.html +0 -366
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Create.html +0 -538
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Hiera.html +0 -566
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Images.html +0 -572
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Inspect.html +0 -524
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Machines.html +0 -567
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Regions.html +0 -567
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud/Vagrantfile.html +0 -515
- data/rdoc/site/0.5.0/Nucleon/Action/Cloud.html +0 -365
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Authorize.html +0 -543
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Bootstrap.html +0 -604
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Build.html +0 -526
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Destroy.html +0 -573
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Exec.html +0 -530
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Facts.html +0 -456
- data/rdoc/site/0.5.0/Nucleon/Action/Node/IP.html +0 -453
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Image.html +0 -573
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Keypair.html +0 -572
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Lookup.html +0 -532
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Provision.html +0 -553
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Reboot.html +0 -573
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Revoke.html +0 -541
- data/rdoc/site/0.5.0/Nucleon/Action/Node/SSH.html +0 -583
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Seed.html +0 -602
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Spawn.html +0 -675
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Start.html +0 -573
- data/rdoc/site/0.5.0/Nucleon/Action/Node/Stop.html +0 -573
- data/rdoc/site/0.5.0/Nucleon/Action/Node.html +0 -376
- data/rdoc/site/0.5.0/Nucleon/Action.html +0 -383
- data/rdoc/site/0.5.0/Nucleon/Config.html +0 -377
- data/rdoc/site/0.5.0/Nucleon/Event/Puppet.html +0 -693
- data/rdoc/site/0.5.0/Nucleon/Event.html +0 -359
- data/rdoc/site/0.5.0/Nucleon/Plugin/Base.html +0 -365
- data/rdoc/site/0.5.0/Nucleon/Plugin/CloudAction.html +0 -838
- data/rdoc/site/0.5.0/Nucleon/Plugin.html +0 -360
- data/rdoc/site/0.5.0/Nucleon/Template/Environment.html +0 -548
- data/rdoc/site/0.5.0/Nucleon/Template.html +0 -359
- data/rdoc/site/0.5.0/Nucleon.html +0 -387
- data/rdoc/site/0.5.0/Object.html +0 -378
- data/rdoc/site/0.5.0/Puppet/DataBinding/Corl.html +0 -365
- data/rdoc/site/0.5.0/Puppet/DataBinding.html +0 -358
- data/rdoc/site/0.5.0/Puppet/Indirector/Corl.html +0 -477
- data/rdoc/site/0.5.0/Puppet/Indirector.html +0 -358
- data/rdoc/site/0.5.0/Puppet/Parser/Functions.html +0 -500
- data/rdoc/site/0.5.0/Puppet/Parser.html +0 -358
- data/rdoc/site/0.5.0/Puppet.html +0 -358
- data/rdoc/site/0.5.0/README_rdoc.html +0 -360
- data/rdoc/site/0.5.0/Vagrant/Config/Loader.html +0 -419
- data/rdoc/site/0.5.0/Vagrant/Config.html +0 -359
- data/rdoc/site/0.5.0/Vagrant/Vagrantfile.html +0 -412
- data/rdoc/site/0.5.0/Vagrant.html +0 -366
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Action/DeleteCache.html +0 -422
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Action/InitKeys.html +0 -428
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Action/LinkNetwork.html +0 -426
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Action.html +0 -361
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/BaseAction.html +0 -511
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Command/Launcher.html +0 -553
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Command.html +0 -359
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Config/CORL.html +0 -752
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Config.html +0 -359
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Plugin.html +0 -365
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Provisioner/CORL.html +0 -556
- data/rdoc/site/0.5.0/VagrantPlugins/CORL/Provisioner.html +0 -359
- data/rdoc/site/0.5.0/VagrantPlugins/CORL.html +0 -366
- data/rdoc/site/0.5.0/VagrantPlugins.html +0 -366
- data/rdoc/site/0.5.0/created.rid +0 -103
- data/rdoc/site/0.5.0/images/add.png +0 -0
- data/rdoc/site/0.5.0/images/brick.png +0 -0
- data/rdoc/site/0.5.0/images/brick_link.png +0 -0
- data/rdoc/site/0.5.0/images/bug.png +0 -0
- data/rdoc/site/0.5.0/images/bullet_black.png +0 -0
- data/rdoc/site/0.5.0/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.5.0/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.5.0/images/date.png +0 -0
- data/rdoc/site/0.5.0/images/delete.png +0 -0
- data/rdoc/site/0.5.0/images/find.png +0 -0
- data/rdoc/site/0.5.0/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.5.0/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.5.0/images/package.png +0 -0
- data/rdoc/site/0.5.0/images/page_green.png +0 -0
- data/rdoc/site/0.5.0/images/page_white_text.png +0 -0
- data/rdoc/site/0.5.0/images/page_white_width.png +0 -0
- data/rdoc/site/0.5.0/images/plugin.png +0 -0
- data/rdoc/site/0.5.0/images/ruby.png +0 -0
- data/rdoc/site/0.5.0/images/tag_blue.png +0 -0
- data/rdoc/site/0.5.0/images/tag_green.png +0 -0
- data/rdoc/site/0.5.0/images/transparent.png +0 -0
- data/rdoc/site/0.5.0/images/wrench.png +0 -0
- data/rdoc/site/0.5.0/images/wrench_orange.png +0 -0
- data/rdoc/site/0.5.0/images/zoom.png +0 -0
- data/rdoc/site/0.5.0/index.html +0 -359
- data/rdoc/site/0.5.0/js/darkfish.js +0 -155
- data/rdoc/site/0.5.0/js/jquery.js +0 -18
- data/rdoc/site/0.5.0/js/navigation.js +0 -142
- data/rdoc/site/0.5.0/js/search.js +0 -94
- data/rdoc/site/0.5.0/js/search_index.js +0 -1
- data/rdoc/site/0.5.0/js/searcher.js +0 -228
- data/rdoc/site/0.5.0/rdoc.css +0 -543
- data/rdoc/site/0.5.0/table_of_contents.html +0 -1797
- data/rdoc/site/0.5.1/CORL/Build.html +0 -781
- data/rdoc/site/0.5.1/CORL/Builder/Identity.html +0 -596
- data/rdoc/site/0.5.1/CORL/Builder/Package.html +0 -600
- data/rdoc/site/0.5.1/CORL/Builder.html +0 -384
- data/rdoc/site/0.5.1/CORL/Configuration/File.html +0 -1186
- data/rdoc/site/0.5.1/CORL/Configuration.html +0 -383
- data/rdoc/site/0.5.1/CORL/Errors.html +0 -383
- data/rdoc/site/0.5.1/CORL/Facade.html +0 -927
- data/rdoc/site/0.5.1/CORL/Machine/AWS.html +0 -777
- data/rdoc/site/0.5.1/CORL/Machine/Fog.html +0 -1313
- data/rdoc/site/0.5.1/CORL/Machine/Physical.html +0 -1083
- data/rdoc/site/0.5.1/CORL/Machine/Rackspace.html +0 -558
- data/rdoc/site/0.5.1/CORL/Machine/Vagrant.html +0 -1344
- data/rdoc/site/0.5.1/CORL/Machine.html +0 -387
- data/rdoc/site/0.5.1/CORL/Mixin/Action/Keypair.html +0 -616
- data/rdoc/site/0.5.1/CORL/Mixin/Action/Registration.html +0 -469
- data/rdoc/site/0.5.1/CORL/Mixin/Action.html +0 -384
- data/rdoc/site/0.5.1/CORL/Mixin/Builder/Global.html +0 -628
- data/rdoc/site/0.5.1/CORL/Mixin/Builder/Instance.html +0 -720
- data/rdoc/site/0.5.1/CORL/Mixin/Builder.html +0 -383
- data/rdoc/site/0.5.1/CORL/Mixin/Lookup.html +0 -1315
- data/rdoc/site/0.5.1/CORL/Mixin/Machine/SSH.html +0 -699
- data/rdoc/site/0.5.1/CORL/Mixin/Machine.html +0 -383
- data/rdoc/site/0.5.1/CORL/Mixin/Macro/NetworkSettings.html +0 -508
- data/rdoc/site/0.5.1/CORL/Mixin/Macro.html +0 -383
- data/rdoc/site/0.5.1/CORL/Mixin.html +0 -388
- data/rdoc/site/0.5.1/CORL/Network/CORL.html +0 -435
- data/rdoc/site/0.5.1/CORL/Network.html +0 -383
- data/rdoc/site/0.5.1/CORL/Node/AWS.html +0 -760
- data/rdoc/site/0.5.1/CORL/Node/Fog.html +0 -1268
- data/rdoc/site/0.5.1/CORL/Node/Local.html +0 -468
- data/rdoc/site/0.5.1/CORL/Node/Rackspace.html +0 -753
- data/rdoc/site/0.5.1/CORL/Node/Vagrant.html +0 -1497
- data/rdoc/site/0.5.1/CORL/Node.html +0 -387
- data/rdoc/site/0.5.1/CORL/Plugin/Builder.html +0 -524
- data/rdoc/site/0.5.1/CORL/Plugin/Configuration.html +0 -1294
- data/rdoc/site/0.5.1/CORL/Plugin/Machine.html +0 -1323
- data/rdoc/site/0.5.1/CORL/Plugin/Network.html +0 -1766
- data/rdoc/site/0.5.1/CORL/Plugin/Node.html +0 -4263
- data/rdoc/site/0.5.1/CORL/Plugin/Provisioner.html +0 -1139
- data/rdoc/site/0.5.1/CORL/Plugin.html +0 -673
- data/rdoc/site/0.5.1/CORL/Provisioner/Puppetnode.html +0 -1201
- data/rdoc/site/0.5.1/CORL/Provisioner.html +0 -383
- data/rdoc/site/0.5.1/CORL/Util/Puppet/Resource.html +0 -1082
- data/rdoc/site/0.5.1/CORL/Util/Puppet/ResourceGroup.html +0 -964
- data/rdoc/site/0.5.1/CORL/Util/Puppet.html +0 -1131
- data/rdoc/site/0.5.1/CORL/Util.html +0 -385
- data/rdoc/site/0.5.1/CORL/Vagrant/Config.html +0 -967
- data/rdoc/site/0.5.1/CORL/Vagrant.html +0 -462
- data/rdoc/site/0.5.1/CORL.html +0 -496
- data/rdoc/site/0.5.1/Fog/Compute/AWS/Server.html +0 -467
- data/rdoc/site/0.5.1/Fog/Compute/AWS.html +0 -389
- data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2/Server.html +0 -452
- data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2.html +0 -389
- data/rdoc/site/0.5.1/Fog/Compute.html +0 -384
- data/rdoc/site/0.5.1/Fog.html +0 -384
- data/rdoc/site/0.5.1/Hiera/Backend.html +0 -466
- data/rdoc/site/0.5.1/Hiera/Corl_logger.html +0 -493
- data/rdoc/site/0.5.1/Hiera.html +0 -390
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Config.html +0 -978
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Create.html +0 -562
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Images.html +0 -596
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Inspect.html +0 -567
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Machines.html +0 -591
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Regions.html +0 -591
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Settings.html +0 -878
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Vagrantfile.html +0 -539
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud.html +0 -390
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Authorize.html +0 -567
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Bootstrap.html +0 -628
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Build.html +0 -550
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Cache.html +0 -773
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Destroy.html +0 -597
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Exec.html +0 -554
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Fact.html +0 -733
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Facts.html +0 -505
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Group.html +0 -729
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Groups.html +0 -505
- data/rdoc/site/0.5.1/Nucleon/Action/Node/IP.html +0 -477
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Identity.html +0 -614
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Image.html +0 -597
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Keypair.html +0 -596
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Lookup.html +0 -579
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Provision.html +0 -577
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Reboot.html +0 -597
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Revoke.html +0 -565
- data/rdoc/site/0.5.1/Nucleon/Action/Node/SSH.html +0 -607
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Seed.html +0 -626
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Spawn.html +0 -699
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Start.html +0 -597
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Status.html +0 -615
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Stop.html +0 -597
- data/rdoc/site/0.5.1/Nucleon/Action/Node.html +0 -406
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin/Create.html +0 -736
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin/List.html +0 -570
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin.html +0 -384
- data/rdoc/site/0.5.1/Nucleon/Action/Plugins.html +0 -435
- data/rdoc/site/0.5.1/Nucleon/Action.html +0 -417
- data/rdoc/site/0.5.1/Nucleon/Config.html +0 -401
- data/rdoc/site/0.5.1/Nucleon/Event/Puppet.html +0 -717
- data/rdoc/site/0.5.1/Nucleon/Event.html +0 -383
- data/rdoc/site/0.5.1/Nucleon/Plugin/Base.html +0 -389
- data/rdoc/site/0.5.1/Nucleon/Plugin/CloudAction.html +0 -894
- data/rdoc/site/0.5.1/Nucleon/Plugin.html +0 -384
- data/rdoc/site/0.5.1/Nucleon/Template/Environment.html +0 -572
- data/rdoc/site/0.5.1/Nucleon/Template.html +0 -383
- data/rdoc/site/0.5.1/Nucleon.html +0 -421
- data/rdoc/site/0.5.1/Object.html +0 -402
- data/rdoc/site/0.5.1/Puppet/DataBinding/Corl.html +0 -389
- data/rdoc/site/0.5.1/Puppet/DataBinding.html +0 -382
- data/rdoc/site/0.5.1/Puppet/Indirector/Corl.html +0 -501
- data/rdoc/site/0.5.1/Puppet/Indirector.html +0 -382
- data/rdoc/site/0.5.1/Puppet/Parser/Functions.html +0 -524
- data/rdoc/site/0.5.1/Puppet/Parser.html +0 -382
- data/rdoc/site/0.5.1/Puppet.html +0 -382
- data/rdoc/site/0.5.1/README_rdoc.html +0 -384
- data/rdoc/site/0.5.1/Vagrant/Config/Loader.html +0 -443
- data/rdoc/site/0.5.1/Vagrant/Config.html +0 -383
- data/rdoc/site/0.5.1/Vagrant/Vagrantfile.html +0 -436
- data/rdoc/site/0.5.1/Vagrant.html +0 -390
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/DeleteCache.html +0 -446
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/InitKeys.html +0 -452
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/LinkNetwork.html +0 -450
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action.html +0 -385
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/BaseAction.html +0 -535
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command/Launcher.html +0 -577
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command.html +0 -383
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config/CORL.html +0 -776
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config.html +0 -383
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Plugin.html +0 -389
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner/CORL.html +0 -580
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner.html +0 -383
- data/rdoc/site/0.5.1/VagrantPlugins/CORL.html +0 -390
- data/rdoc/site/0.5.1/VagrantPlugins.html +0 -390
- data/rdoc/site/0.5.1/created.rid +0 -114
- data/rdoc/site/0.5.1/images/add.png +0 -0
- data/rdoc/site/0.5.1/images/brick.png +0 -0
- data/rdoc/site/0.5.1/images/brick_link.png +0 -0
- data/rdoc/site/0.5.1/images/bug.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_black.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.5.1/images/date.png +0 -0
- data/rdoc/site/0.5.1/images/delete.png +0 -0
- data/rdoc/site/0.5.1/images/find.png +0 -0
- data/rdoc/site/0.5.1/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.5.1/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.5.1/images/package.png +0 -0
- data/rdoc/site/0.5.1/images/page_green.png +0 -0
- data/rdoc/site/0.5.1/images/page_white_text.png +0 -0
- data/rdoc/site/0.5.1/images/page_white_width.png +0 -0
- data/rdoc/site/0.5.1/images/plugin.png +0 -0
- data/rdoc/site/0.5.1/images/ruby.png +0 -0
- data/rdoc/site/0.5.1/images/tag_blue.png +0 -0
- data/rdoc/site/0.5.1/images/tag_green.png +0 -0
- data/rdoc/site/0.5.1/images/transparent.png +0 -0
- data/rdoc/site/0.5.1/images/wrench.png +0 -0
- data/rdoc/site/0.5.1/images/wrench_orange.png +0 -0
- data/rdoc/site/0.5.1/images/zoom.png +0 -0
- data/rdoc/site/0.5.1/index.html +0 -383
- data/rdoc/site/0.5.1/js/darkfish.js +0 -155
- data/rdoc/site/0.5.1/js/jquery.js +0 -18
- data/rdoc/site/0.5.1/js/navigation.js +0 -142
- data/rdoc/site/0.5.1/js/search.js +0 -94
- data/rdoc/site/0.5.1/js/search_index.js +0 -1
- data/rdoc/site/0.5.1/js/searcher.js +0 -228
- data/rdoc/site/0.5.1/rdoc.css +0 -543
- data/rdoc/site/0.5.1/table_of_contents.html +0 -2005
- data/spec/corl_mock_input.rb +0 -29
- data/spec/corl_test_kernel.rb +0 -22
|
@@ -1,1213 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
-
|
|
7
|
-
<title>class Nucleon::Plugin::Configuration - corl 0.4.29</title>
|
|
8
|
-
|
|
9
|
-
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
|
-
<script type="text/javascript">
|
|
12
|
-
var rdoc_rel_prefix = "../../";
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<body id="top" class="class">
|
|
24
|
-
<nav id="metadata">
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="../../index.html">Home</a>
|
|
28
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
|
29
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</h3>
|
|
31
|
-
</nav>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<h3 class="section-header">
|
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</h3>
|
|
40
|
-
</form>
|
|
41
|
-
|
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
-
</nav>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div id="file-metadata">
|
|
47
|
-
<nav id="file-list-section" class="section">
|
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
|
49
|
-
<ul>
|
|
50
|
-
<li>lib/core/plugin/configuration.rb
|
|
51
|
-
</ul>
|
|
52
|
-
</nav>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<div id="class-metadata">
|
|
58
|
-
|
|
59
|
-
<nav id="parent-class-section" class="section">
|
|
60
|
-
<h3 class="section-header">Parent</h3>
|
|
61
|
-
|
|
62
|
-
<p class="link">CORL.plugin_class(:base)
|
|
63
|
-
|
|
64
|
-
</nav>
|
|
65
|
-
|
|
66
|
-
<!-- Included Modules -->
|
|
67
|
-
<nav id="includes-section" class="section">
|
|
68
|
-
<h3 class="section-header">Included Modules</h3>
|
|
69
|
-
|
|
70
|
-
<ul class="link-list">
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<li><span class="include">Mixin::SubConfig</span>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</ul>
|
|
77
|
-
</nav>
|
|
78
|
-
|
|
79
|
-
<!-- Method Quickref -->
|
|
80
|
-
<nav id="method-list-section" class="section">
|
|
81
|
-
<h3 class="section-header">Methods</h3>
|
|
82
|
-
|
|
83
|
-
<ul class="link-list">
|
|
84
|
-
|
|
85
|
-
<li><a href="#method-i-attach">#attach</a>
|
|
86
|
-
|
|
87
|
-
<li><a href="#method-i-autoload">#autoload</a>
|
|
88
|
-
|
|
89
|
-
<li><a href="#method-i-autoload-3D">#autoload=</a>
|
|
90
|
-
|
|
91
|
-
<li><a href="#method-i-autosave">#autosave</a>
|
|
92
|
-
|
|
93
|
-
<li><a href="#method-i-autosave-3D">#autosave=</a>
|
|
94
|
-
|
|
95
|
-
<li><a href="#method-i-cache">#cache</a>
|
|
96
|
-
|
|
97
|
-
<li><a href="#method-i-can_persist-3F">#can_persist?</a>
|
|
98
|
-
|
|
99
|
-
<li><a href="#method-i-clear">#clear</a>
|
|
100
|
-
|
|
101
|
-
<li><a href="#method-i-delete">#delete</a>
|
|
102
|
-
|
|
103
|
-
<li><a href="#method-i-delete_attachments">#delete_attachments</a>
|
|
104
|
-
|
|
105
|
-
<li><a href="#method-i-directory">#directory</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="#method-i-ignore">#ignore</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="#method-i-import">#import</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="#method-i-load">#load</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="#method-i-normalize">#normalize</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="#method-i-project">#project</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="#method-i-remote">#remote</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="#method-i-remove">#remove</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="#method-i-remove_plugin">#remove_plugin</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="#method-i-save">#save</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="#method-i-set">#set</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="#method-i-set_location">#set_location</a>
|
|
128
|
-
|
|
129
|
-
<li><a href="#method-i-set_remote">#set_remote</a>
|
|
130
|
-
|
|
131
|
-
</ul>
|
|
132
|
-
</nav>
|
|
133
|
-
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
<div id="project-metadata">
|
|
137
|
-
<nav id="fileindex-section" class="section project-section">
|
|
138
|
-
<h3 class="section-header">Pages</h3>
|
|
139
|
-
|
|
140
|
-
<ul>
|
|
141
|
-
|
|
142
|
-
<li class="file"><a href="../../README_rdoc.html">README</a>
|
|
143
|
-
|
|
144
|
-
</ul>
|
|
145
|
-
</nav>
|
|
146
|
-
|
|
147
|
-
<nav id="classindex-section" class="section project-section">
|
|
148
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
149
|
-
|
|
150
|
-
<ul class="link-list">
|
|
151
|
-
|
|
152
|
-
<li><a href="../../CORL.html">CORL</a>
|
|
153
|
-
|
|
154
|
-
<li><a href="../../CORL/Action.html">CORL::Action</a>
|
|
155
|
-
|
|
156
|
-
<li><a href="../../CORL/Action/Authorize.html">CORL::Action::Authorize</a>
|
|
157
|
-
|
|
158
|
-
<li><a href="../../CORL/Action/Bootstrap.html">CORL::Action::Bootstrap</a>
|
|
159
|
-
|
|
160
|
-
<li><a href="../../CORL/Action/Build.html">CORL::Action::Build</a>
|
|
161
|
-
|
|
162
|
-
<li><a href="../../CORL/Action/Destroy.html">CORL::Action::Destroy</a>
|
|
163
|
-
|
|
164
|
-
<li><a href="../../CORL/Action/Exec.html">CORL::Action::Exec</a>
|
|
165
|
-
|
|
166
|
-
<li><a href="../../CORL/Action/Facts.html">CORL::Action::Facts</a>
|
|
167
|
-
|
|
168
|
-
<li><a href="../../CORL/Action/Image.html">CORL::Action::Image</a>
|
|
169
|
-
|
|
170
|
-
<li><a href="../../CORL/Action/Images.html">CORL::Action::Images</a>
|
|
171
|
-
|
|
172
|
-
<li><a href="../../CORL/Action/Ip.html">CORL::Action::Ip</a>
|
|
173
|
-
|
|
174
|
-
<li><a href="../../CORL/Action/Keypair.html">CORL::Action::Keypair</a>
|
|
175
|
-
|
|
176
|
-
<li><a href="../../CORL/Action/Lookup.html">CORL::Action::Lookup</a>
|
|
177
|
-
|
|
178
|
-
<li><a href="../../CORL/Action/Machines.html">CORL::Action::Machines</a>
|
|
179
|
-
|
|
180
|
-
<li><a href="../../CORL/Action/Provision.html">CORL::Action::Provision</a>
|
|
181
|
-
|
|
182
|
-
<li><a href="../../CORL/Action/Reboot.html">CORL::Action::Reboot</a>
|
|
183
|
-
|
|
184
|
-
<li><a href="../../CORL/Action/Regions.html">CORL::Action::Regions</a>
|
|
185
|
-
|
|
186
|
-
<li><a href="../../CORL/Action/Revoke.html">CORL::Action::Revoke</a>
|
|
187
|
-
|
|
188
|
-
<li><a href="../../CORL/Action/Seed.html">CORL::Action::Seed</a>
|
|
189
|
-
|
|
190
|
-
<li><a href="../../CORL/Action/Spawn.html">CORL::Action::Spawn</a>
|
|
191
|
-
|
|
192
|
-
<li><a href="../../CORL/Action/Ssh.html">CORL::Action::Ssh</a>
|
|
193
|
-
|
|
194
|
-
<li><a href="../../CORL/Action/Start.html">CORL::Action::Start</a>
|
|
195
|
-
|
|
196
|
-
<li><a href="../../CORL/Action/Stop.html">CORL::Action::Stop</a>
|
|
197
|
-
|
|
198
|
-
<li><a href="../../CORL/Action/Vagrantfile.html">CORL::Action::Vagrantfile</a>
|
|
199
|
-
|
|
200
|
-
<li><a href="../../CORL/Configuration.html">CORL::Configuration</a>
|
|
201
|
-
|
|
202
|
-
<li><a href="../../CORL/Configuration/File.html">CORL::Configuration::File</a>
|
|
203
|
-
|
|
204
|
-
<li><a href="../../CORL/Errors.html">CORL::Errors</a>
|
|
205
|
-
|
|
206
|
-
<li><a href="../../CORL/Event.html">CORL::Event</a>
|
|
207
|
-
|
|
208
|
-
<li><a href="../../CORL/Event/Puppet.html">CORL::Event::Puppet</a>
|
|
209
|
-
|
|
210
|
-
<li><a href="../../CORL/Facade.html">CORL::Facade</a>
|
|
211
|
-
|
|
212
|
-
<li><a href="../../CORL/Machine.html">CORL::Machine</a>
|
|
213
|
-
|
|
214
|
-
<li><a href="../../CORL/Machine/Aws.html">CORL::Machine::Aws</a>
|
|
215
|
-
|
|
216
|
-
<li><a href="../../CORL/Machine/Fog.html">CORL::Machine::Fog</a>
|
|
217
|
-
|
|
218
|
-
<li><a href="../../CORL/Machine/Physical.html">CORL::Machine::Physical</a>
|
|
219
|
-
|
|
220
|
-
<li><a href="../../CORL/Machine/Rackspace.html">CORL::Machine::Rackspace</a>
|
|
221
|
-
|
|
222
|
-
<li><a href="../../CORL/Machine/Vagrant.html">CORL::Machine::Vagrant</a>
|
|
223
|
-
|
|
224
|
-
<li><a href="../../CORL/Mixin.html">CORL::Mixin</a>
|
|
225
|
-
|
|
226
|
-
<li><a href="../../CORL/Mixin/Action.html">CORL::Mixin::Action</a>
|
|
227
|
-
|
|
228
|
-
<li><a href="../../CORL/Mixin/Action/Keypair.html">CORL::Mixin::Action::Keypair</a>
|
|
229
|
-
|
|
230
|
-
<li><a href="../../CORL/Mixin/Lookup.html">CORL::Mixin::Lookup</a>
|
|
231
|
-
|
|
232
|
-
<li><a href="../../CORL/Mixin/Machine.html">CORL::Mixin::Machine</a>
|
|
233
|
-
|
|
234
|
-
<li><a href="../../CORL/Mixin/Machine/SSH.html">CORL::Mixin::Machine::SSH</a>
|
|
235
|
-
|
|
236
|
-
<li><a href="../../CORL/Mixin/Macro.html">CORL::Mixin::Macro</a>
|
|
237
|
-
|
|
238
|
-
<li><a href="../../CORL/Mixin/Macro/NetworkSettings.html">CORL::Mixin::Macro::NetworkSettings</a>
|
|
239
|
-
|
|
240
|
-
<li><a href="../../CORL/Network.html">CORL::Network</a>
|
|
241
|
-
|
|
242
|
-
<li><a href="../../CORL/Network/Default.html">CORL::Network::Default</a>
|
|
243
|
-
|
|
244
|
-
<li><a href="../../CORL/Node.html">CORL::Node</a>
|
|
245
|
-
|
|
246
|
-
<li><a href="../../CORL/Node/Aws.html">CORL::Node::Aws</a>
|
|
247
|
-
|
|
248
|
-
<li><a href="../../CORL/Node/Fog.html">CORL::Node::Fog</a>
|
|
249
|
-
|
|
250
|
-
<li><a href="../../CORL/Node/Local.html">CORL::Node::Local</a>
|
|
251
|
-
|
|
252
|
-
<li><a href="../../CORL/Node/Rackspace.html">CORL::Node::Rackspace</a>
|
|
253
|
-
|
|
254
|
-
<li><a href="../../CORL/Node/Vagrant.html">CORL::Node::Vagrant</a>
|
|
255
|
-
|
|
256
|
-
<li><a href="../../CORL/Plugin.html">CORL::Plugin</a>
|
|
257
|
-
|
|
258
|
-
<li><a href="../../CORL/Plugin/CloudAction.html">CORL::Plugin::CloudAction</a>
|
|
259
|
-
|
|
260
|
-
<li><a href="../../CORL/Provisioner.html">CORL::Provisioner</a>
|
|
261
|
-
|
|
262
|
-
<li><a href="../../CORL/Provisioner/Puppetnode.html">CORL::Provisioner::Puppetnode</a>
|
|
263
|
-
|
|
264
|
-
<li><a href="../../CORL/Template.html">CORL::Template</a>
|
|
265
|
-
|
|
266
|
-
<li><a href="../../CORL/Template/Environment.html">CORL::Template::Environment</a>
|
|
267
|
-
|
|
268
|
-
<li><a href="../../CORL/Util.html">CORL::Util</a>
|
|
269
|
-
|
|
270
|
-
<li><a href="../../CORL/Util/Puppet.html">CORL::Util::Puppet</a>
|
|
271
|
-
|
|
272
|
-
<li><a href="../../CORL/Util/Puppet/Resource.html">CORL::Util::Puppet::Resource</a>
|
|
273
|
-
|
|
274
|
-
<li><a href="../../CORL/Util/Puppet/ResourceGroup.html">CORL::Util::Puppet::ResourceGroup</a>
|
|
275
|
-
|
|
276
|
-
<li><a href="../../CORL/Vagrant.html">CORL::Vagrant</a>
|
|
277
|
-
|
|
278
|
-
<li><a href="../../CORL/Vagrant/Config.html">CORL::Vagrant::Config</a>
|
|
279
|
-
|
|
280
|
-
<li><a href="../../VagrantPlugins.html">VagrantPlugins</a>
|
|
281
|
-
|
|
282
|
-
<li><a href="../../VagrantPlugins/CORL.html">VagrantPlugins::CORL</a>
|
|
283
|
-
|
|
284
|
-
<li><a href="../../VagrantPlugins/CORL/Action.html">VagrantPlugins::CORL::Action</a>
|
|
285
|
-
|
|
286
|
-
<li><a href="../../VagrantPlugins/CORL/Action/DeleteCache.html">VagrantPlugins::CORL::Action::DeleteCache</a>
|
|
287
|
-
|
|
288
|
-
<li><a href="../../VagrantPlugins/CORL/Action/InitKeys.html">VagrantPlugins::CORL::Action::InitKeys</a>
|
|
289
|
-
|
|
290
|
-
<li><a href="../../VagrantPlugins/CORL/Action/LinkNetwork.html">VagrantPlugins::CORL::Action::LinkNetwork</a>
|
|
291
|
-
|
|
292
|
-
<li><a href="../../VagrantPlugins/CORL/BaseAction.html">VagrantPlugins::CORL::BaseAction</a>
|
|
293
|
-
|
|
294
|
-
<li><a href="../../VagrantPlugins/CORL/Command.html">VagrantPlugins::CORL::Command</a>
|
|
295
|
-
|
|
296
|
-
<li><a href="../../VagrantPlugins/CORL/Command/Launcher.html">VagrantPlugins::CORL::Command::Launcher</a>
|
|
297
|
-
|
|
298
|
-
<li><a href="../../VagrantPlugins/CORL/Config.html">VagrantPlugins::CORL::Config</a>
|
|
299
|
-
|
|
300
|
-
<li><a href="../../VagrantPlugins/CORL/Config/CORL.html">VagrantPlugins::CORL::Config::CORL</a>
|
|
301
|
-
|
|
302
|
-
<li><a href="../../VagrantPlugins/CORL/Plugin.html">VagrantPlugins::CORL::Plugin</a>
|
|
303
|
-
|
|
304
|
-
<li><a href="../../VagrantPlugins/CORL/Provisioner.html">VagrantPlugins::CORL::Provisioner</a>
|
|
305
|
-
|
|
306
|
-
<li><a href="../../VagrantPlugins/CORL/Provisioner/CORL.html">VagrantPlugins::CORL::Provisioner::CORL</a>
|
|
307
|
-
|
|
308
|
-
<li><a href="../../Nucleon.html">Nucleon</a>
|
|
309
|
-
|
|
310
|
-
<li><a href="../../Nucleon/Config.html">Nucleon::Config</a>
|
|
311
|
-
|
|
312
|
-
<li><a href="../../Nucleon/Plugin.html">Nucleon::Plugin</a>
|
|
313
|
-
|
|
314
|
-
<li><a href="../../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
|
|
315
|
-
|
|
316
|
-
<li><a href="../../Nucleon/Plugin/Configuration.html">Nucleon::Plugin::Configuration</a>
|
|
317
|
-
|
|
318
|
-
<li><a href="../../Nucleon/Plugin/Machine.html">Nucleon::Plugin::Machine</a>
|
|
319
|
-
|
|
320
|
-
<li><a href="../../Nucleon/Plugin/Network.html">Nucleon::Plugin::Network</a>
|
|
321
|
-
|
|
322
|
-
<li><a href="../../Nucleon/Plugin/Node.html">Nucleon::Plugin::Node</a>
|
|
323
|
-
|
|
324
|
-
<li><a href="../../Nucleon/Plugin/Provisioner.html">Nucleon::Plugin::Provisioner</a>
|
|
325
|
-
|
|
326
|
-
<li><a href="../../Puppet.html">Puppet</a>
|
|
327
|
-
|
|
328
|
-
<li><a href="../../Puppet/DataBinding.html">Puppet::DataBinding</a>
|
|
329
|
-
|
|
330
|
-
<li><a href="../../Puppet/DataBinding/Corl.html">Puppet::DataBinding::Corl</a>
|
|
331
|
-
|
|
332
|
-
<li><a href="../../Puppet/Indirector.html">Puppet::Indirector</a>
|
|
333
|
-
|
|
334
|
-
<li><a href="../../Puppet/Indirector/Corl.html">Puppet::Indirector::Corl</a>
|
|
335
|
-
|
|
336
|
-
<li><a href="../../Puppet/Parser.html">Puppet::Parser</a>
|
|
337
|
-
|
|
338
|
-
<li><a href="../../Puppet/Parser/Functions.html">Puppet::Parser::Functions</a>
|
|
339
|
-
|
|
340
|
-
<li><a href="../../Fog.html">Fog</a>
|
|
341
|
-
|
|
342
|
-
<li><a href="../../Fog/Compute.html">Fog::Compute</a>
|
|
343
|
-
|
|
344
|
-
<li><a href="../../Fog/Compute/AWS.html">Fog::Compute::AWS</a>
|
|
345
|
-
|
|
346
|
-
<li><a href="../../Fog/Compute/AWS/Server.html">Fog::Compute::AWS::Server</a>
|
|
347
|
-
|
|
348
|
-
<li><a href="../../Fog/Compute/RackspaceV2.html">Fog::Compute::RackspaceV2</a>
|
|
349
|
-
|
|
350
|
-
<li><a href="../../Fog/Compute/RackspaceV2/Server.html">Fog::Compute::RackspaceV2::Server</a>
|
|
351
|
-
|
|
352
|
-
<li><a href="../../Vagrant.html">Vagrant</a>
|
|
353
|
-
|
|
354
|
-
<li><a href="../../Vagrant/Config.html">Vagrant::Config</a>
|
|
355
|
-
|
|
356
|
-
<li><a href="../../Vagrant/Config/Loader.html">Vagrant::Config::Loader</a>
|
|
357
|
-
|
|
358
|
-
<li><a href="../../Vagrant/Vagrantfile.html">Vagrant::Vagrantfile</a>
|
|
359
|
-
|
|
360
|
-
<li><a href="../../Facter.html">Facter</a>
|
|
361
|
-
|
|
362
|
-
<li><a href="../../Facter/Util.html">Facter::Util</a>
|
|
363
|
-
|
|
364
|
-
<li><a href="../../Facter/Util/Loader.html">Facter::Util::Loader</a>
|
|
365
|
-
|
|
366
|
-
<li><a href="../../Hiera.html">Hiera</a>
|
|
367
|
-
|
|
368
|
-
<li><a href="../../Hiera/Backend.html">Hiera::Backend</a>
|
|
369
|
-
|
|
370
|
-
<li><a href="../../Hiera/Corl_logger.html">Hiera::Corl_logger</a>
|
|
371
|
-
|
|
372
|
-
<li><a href="../../Object.html">Object</a>
|
|
373
|
-
|
|
374
|
-
</ul>
|
|
375
|
-
</nav>
|
|
376
|
-
|
|
377
|
-
</div>
|
|
378
|
-
</nav>
|
|
379
|
-
|
|
380
|
-
<div id="documentation">
|
|
381
|
-
<h1 class="class">class Nucleon::Plugin::Configuration</h1>
|
|
382
|
-
|
|
383
|
-
<div id="description" class="description">
|
|
384
|
-
|
|
385
|
-
</div><!-- description -->
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<!-- Methods -->
|
|
400
|
-
|
|
401
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
|
402
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
<div id="method-i-attach" class="method-detail ">
|
|
406
|
-
|
|
407
|
-
<div class="method-heading">
|
|
408
|
-
<span class="method-name">attach</span><span
|
|
409
|
-
class="method-args">(type, name, data, options = {}) { |method_config| ... }</span>
|
|
410
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
411
|
-
</div>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
<div class="method-description">
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
<div class="method-source-code" id="attach-source">
|
|
421
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 219</span>
|
|
422
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">attach</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">data</span>, <span class="ruby-identifier">options</span> = {})
|
|
423
|
-
<span class="ruby-identifier">method_config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
424
|
-
<span class="ruby-identifier">new_location</span> = <span class="ruby-keyword">nil</span>
|
|
425
|
-
|
|
426
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">can_persist?</span>
|
|
427
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-value">:attach</span>, { <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
428
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Attaching data to source configuration"</span>)
|
|
429
|
-
|
|
430
|
-
<span class="ruby-identifier">new_location</span> = <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">method_config</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
431
|
-
<span class="ruby-keyword">end</span>
|
|
432
|
-
<span class="ruby-keyword">else</span>
|
|
433
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-string">"Can not attach data to source configuration"</span>)
|
|
434
|
-
<span class="ruby-keyword">end</span>
|
|
435
|
-
<span class="ruby-identifier">new_location</span>
|
|
436
|
-
<span class="ruby-keyword">end</span></pre>
|
|
437
|
-
</div><!-- attach-source -->
|
|
438
|
-
|
|
439
|
-
</div>
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
</div><!-- attach-method -->
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
<div id="method-i-autoload" class="method-detail ">
|
|
448
|
-
|
|
449
|
-
<div class="method-heading">
|
|
450
|
-
<span class="method-name">autoload</span><span
|
|
451
|
-
class="method-args">(default = false)</span>
|
|
452
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
453
|
-
</div>
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
<div class="method-description">
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
<div class="method-source-code" id="autoload-source">
|
|
463
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 76</span>
|
|
464
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">autoload</span>(<span class="ruby-identifier">default</span> = <span class="ruby-keyword">false</span>)
|
|
465
|
-
<span class="ruby-identifier">_get</span>(<span class="ruby-value">:autoload</span>, <span class="ruby-identifier">default</span>)
|
|
466
|
-
<span class="ruby-keyword">end</span></pre>
|
|
467
|
-
</div><!-- autoload-source -->
|
|
468
|
-
|
|
469
|
-
</div>
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
</div><!-- autoload-method -->
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
<div id="method-i-autoload-3D" class="method-detail ">
|
|
478
|
-
|
|
479
|
-
<div class="method-heading">
|
|
480
|
-
<span class="method-name">autoload=</span><span
|
|
481
|
-
class="method-args">(autoload)</span>
|
|
482
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
483
|
-
</div>
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
<div class="method-description">
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
<div class="method-source-code" id="autoload-3D-source">
|
|
493
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 80</span>
|
|
494
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">autoload=</span><span class="ruby-identifier">autoload</span>
|
|
495
|
-
<span class="ruby-identifier">_set</span>(<span class="ruby-value">:autoload</span>, <span class="ruby-identifier">test</span>(<span class="ruby-identifier">autoload</span>))
|
|
496
|
-
<span class="ruby-keyword">end</span></pre>
|
|
497
|
-
</div><!-- autoload-3D-source -->
|
|
498
|
-
|
|
499
|
-
</div>
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
</div><!-- autoload-3D-method -->
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
<div id="method-i-autosave" class="method-detail ">
|
|
508
|
-
|
|
509
|
-
<div class="method-heading">
|
|
510
|
-
<span class="method-name">autosave</span><span
|
|
511
|
-
class="method-args">(default = false)</span>
|
|
512
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
513
|
-
</div>
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
<div class="method-description">
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<div class="method-source-code" id="autosave-source">
|
|
523
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 86</span>
|
|
524
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">autosave</span>(<span class="ruby-identifier">default</span> = <span class="ruby-keyword">false</span>)
|
|
525
|
-
<span class="ruby-identifier">_get</span>(<span class="ruby-value">:autosave</span>, <span class="ruby-identifier">default</span>)
|
|
526
|
-
<span class="ruby-keyword">end</span></pre>
|
|
527
|
-
</div><!-- autosave-source -->
|
|
528
|
-
|
|
529
|
-
</div>
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
</div><!-- autosave-method -->
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
<div id="method-i-autosave-3D" class="method-detail ">
|
|
538
|
-
|
|
539
|
-
<div class="method-heading">
|
|
540
|
-
<span class="method-name">autosave=</span><span
|
|
541
|
-
class="method-args">(autosave)</span>
|
|
542
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
543
|
-
</div>
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
<div class="method-description">
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
<div class="method-source-code" id="autosave-3D-source">
|
|
553
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 90</span>
|
|
554
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">autosave=</span><span class="ruby-identifier">autosave</span>
|
|
555
|
-
<span class="ruby-identifier">_set</span>(<span class="ruby-value">:autosave</span>, <span class="ruby-identifier">test</span>(<span class="ruby-identifier">autosave</span>))
|
|
556
|
-
<span class="ruby-keyword">end</span></pre>
|
|
557
|
-
</div><!-- autosave-3D-source -->
|
|
558
|
-
|
|
559
|
-
</div>
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
</div><!-- autosave-3D-method -->
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
<div id="method-i-cache" class="method-detail ">
|
|
568
|
-
|
|
569
|
-
<div class="method-heading">
|
|
570
|
-
<span class="method-name">cache</span><span
|
|
571
|
-
class="method-args">()</span>
|
|
572
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
573
|
-
</div>
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
<div class="method-description">
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
<div class="method-source-code" id="cache-source">
|
|
583
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 64</span>
|
|
584
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">cache</span>
|
|
585
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">cache</span>
|
|
586
|
-
<span class="ruby-keyword">end</span></pre>
|
|
587
|
-
</div><!-- cache-source -->
|
|
588
|
-
|
|
589
|
-
</div>
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
</div><!-- cache-method -->
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
<div id="method-i-can_persist-3F" class="method-detail ">
|
|
598
|
-
|
|
599
|
-
<div class="method-heading">
|
|
600
|
-
<span class="method-name">can_persist?</span><span
|
|
601
|
-
class="method-args">()</span>
|
|
602
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
603
|
-
</div>
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
<div class="method-description">
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
<div class="method-source-code" id="can_persist-3F-source">
|
|
613
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 45</span>
|
|
614
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">can_persist?</span>
|
|
615
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">can_persist?</span>
|
|
616
|
-
<span class="ruby-keyword">end</span></pre>
|
|
617
|
-
</div><!-- can_persist-3F-source -->
|
|
618
|
-
|
|
619
|
-
</div>
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
</div><!-- can_persist-3F-method -->
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
<div id="method-i-clear" class="method-detail ">
|
|
628
|
-
|
|
629
|
-
<div class="method-heading">
|
|
630
|
-
<span class="method-name">clear</span><span
|
|
631
|
-
class="method-args">(options = {})</span>
|
|
632
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
633
|
-
</div>
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
<div class="method-description">
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
<div class="method-source-code" id="clear-source">
|
|
643
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 123</span>
|
|
644
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">clear</span>(<span class="ruby-identifier">options</span> = {})
|
|
645
|
-
<span class="ruby-keyword">super</span>
|
|
646
|
-
<span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">autosave</span>
|
|
647
|
-
<span class="ruby-keyword">end</span></pre>
|
|
648
|
-
</div><!-- clear-source -->
|
|
649
|
-
|
|
650
|
-
</div>
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
</div><!-- clear-method -->
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
<div id="method-i-delete" class="method-detail ">
|
|
659
|
-
|
|
660
|
-
<div class="method-heading">
|
|
661
|
-
<span class="method-name">delete</span><span
|
|
662
|
-
class="method-args">(keys, options = {})</span>
|
|
663
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
664
|
-
</div>
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
<div class="method-description">
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
<div class="method-source-code" id="delete-source">
|
|
674
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 116</span>
|
|
675
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">keys</span>, <span class="ruby-identifier">options</span> = {})
|
|
676
|
-
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">keys</span>)
|
|
677
|
-
<span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">autosave</span>
|
|
678
|
-
<span class="ruby-keyword">end</span></pre>
|
|
679
|
-
</div><!-- delete-source -->
|
|
680
|
-
|
|
681
|
-
</div>
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
</div><!-- delete-method -->
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
<div id="method-i-delete_attachments" class="method-detail ">
|
|
690
|
-
|
|
691
|
-
<div class="method-heading">
|
|
692
|
-
<span class="method-name">delete_attachments</span><span
|
|
693
|
-
class="method-args">(type, ids, options = {}) { |method_config| ... }</span>
|
|
694
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
695
|
-
</div>
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
<div class="method-description">
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
<div class="method-source-code" id="delete_attachments-source">
|
|
705
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 237</span>
|
|
706
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_attachments</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">ids</span>, <span class="ruby-identifier">options</span> = {})
|
|
707
|
-
<span class="ruby-identifier">method_config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
708
|
-
<span class="ruby-identifier">locations</span> = []
|
|
709
|
-
|
|
710
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">can_persist?</span>
|
|
711
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-value">:remove_attachments</span>, { <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
712
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Removing attached data from source configuration"</span>)
|
|
713
|
-
|
|
714
|
-
<span class="ruby-identifier">locations</span> = <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">method_config</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
715
|
-
<span class="ruby-keyword">end</span>
|
|
716
|
-
<span class="ruby-keyword">else</span>
|
|
717
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-string">"Can not remove attached data from source configuration"</span>)
|
|
718
|
-
<span class="ruby-keyword">end</span>
|
|
719
|
-
<span class="ruby-identifier">locations</span>
|
|
720
|
-
<span class="ruby-keyword">end</span></pre>
|
|
721
|
-
</div><!-- delete_attachments-source -->
|
|
722
|
-
|
|
723
|
-
</div>
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
</div><!-- delete_attachments-method -->
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
<div id="method-i-directory" class="method-detail ">
|
|
732
|
-
|
|
733
|
-
<div class="method-heading">
|
|
734
|
-
<span class="method-name">directory</span><span
|
|
735
|
-
class="method-args">()</span>
|
|
736
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
737
|
-
</div>
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
<div class="method-description">
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
<div class="method-source-code" id="directory-source">
|
|
747
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 58</span>
|
|
748
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">directory</span>
|
|
749
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">directory</span>
|
|
750
|
-
<span class="ruby-keyword">end</span></pre>
|
|
751
|
-
</div><!-- directory-source -->
|
|
752
|
-
|
|
753
|
-
</div>
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
</div><!-- directory-method -->
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
<div id="method-i-ignore" class="method-detail ">
|
|
762
|
-
|
|
763
|
-
<div class="method-heading">
|
|
764
|
-
<span class="method-name">ignore</span><span
|
|
765
|
-
class="method-args">(files)</span>
|
|
766
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
767
|
-
</div>
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
<div class="method-description">
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
<div class="method-source-code" id="ignore-source">
|
|
777
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 70</span>
|
|
778
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ignore</span>(<span class="ruby-identifier">files</span>)
|
|
779
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">ignore</span>(<span class="ruby-identifier">files</span>)
|
|
780
|
-
<span class="ruby-keyword">end</span></pre>
|
|
781
|
-
</div><!-- ignore-source -->
|
|
782
|
-
|
|
783
|
-
</div>
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
</div><!-- ignore-method -->
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
<div id="method-i-import" class="method-detail ">
|
|
792
|
-
|
|
793
|
-
<div class="method-heading">
|
|
794
|
-
<span class="method-name">import</span><span
|
|
795
|
-
class="method-args">(properties, options = {})</span>
|
|
796
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
797
|
-
</div>
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
<div class="method-description">
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
<div class="method-source-code" id="import-source">
|
|
807
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 143</span>
|
|
808
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">import</span>(<span class="ruby-identifier">properties</span>, <span class="ruby-identifier">options</span> = {})
|
|
809
|
-
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">properties</span>, <span class="ruby-identifier">options</span>)
|
|
810
|
-
<span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">autosave</span>
|
|
811
|
-
<span class="ruby-keyword">end</span></pre>
|
|
812
|
-
</div><!-- import-source -->
|
|
813
|
-
|
|
814
|
-
</div>
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
</div><!-- import-method -->
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
<div id="method-i-load" class="method-detail ">
|
|
823
|
-
|
|
824
|
-
<div class="method-heading">
|
|
825
|
-
<span class="method-name">load</span><span
|
|
826
|
-
class="method-args">(options = {}) { |method_config, properties| ... }</span>
|
|
827
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
828
|
-
</div>
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
<div class="method-description">
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
<div class="method-source-code" id="load-source">
|
|
838
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 151</span>
|
|
839
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">load</span>(<span class="ruby-identifier">options</span> = {})
|
|
840
|
-
<span class="ruby-identifier">method_config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
841
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">false</span>
|
|
842
|
-
|
|
843
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">can_persist?</span>
|
|
844
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-value">:load</span>, { <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
845
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Loading source configuration"</span>)
|
|
846
|
-
|
|
847
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">clear</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">method_config</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:override</span>, <span class="ruby-keyword">false</span>)
|
|
848
|
-
|
|
849
|
-
<span class="ruby-identifier">properties</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
|
|
850
|
-
<span class="ruby-keyword">yield</span>(<span class="ruby-identifier">method_config</span>, <span class="ruby-identifier">properties</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
851
|
-
|
|
852
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">properties</span>.<span class="ruby-identifier">export</span>.<span class="ruby-identifier">empty?</span>
|
|
853
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Source configuration parsed properties: #{properties}"</span>)
|
|
854
|
-
|
|
855
|
-
<span class="ruby-identifier">extension</span>(<span class="ruby-value">:load_process</span>, { <span class="ruby-value">:properties</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">properties</span>, <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
856
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">properties</span>, <span class="ruby-identifier">method_config</span>)
|
|
857
|
-
<span class="ruby-keyword">end</span>
|
|
858
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">true</span>
|
|
859
|
-
<span class="ruby-keyword">end</span>
|
|
860
|
-
<span class="ruby-keyword">else</span>
|
|
861
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-string">"Loading of source configuration failed"</span>)
|
|
862
|
-
<span class="ruby-keyword">end</span>
|
|
863
|
-
<span class="ruby-identifier">success</span>
|
|
864
|
-
<span class="ruby-keyword">end</span></pre>
|
|
865
|
-
</div><!-- load-source -->
|
|
866
|
-
|
|
867
|
-
</div>
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
</div><!-- load-method -->
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
<div id="method-i-normalize" class="method-detail ">
|
|
876
|
-
|
|
877
|
-
<div class="method-heading">
|
|
878
|
-
<span class="method-name">normalize</span><span
|
|
879
|
-
class="method-args">(reload) { || ... }</span>
|
|
880
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
881
|
-
</div>
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
<div class="method-description">
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
<div class="method-source-code" id="normalize-source">
|
|
891
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 11</span>
|
|
892
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">normalize</span>(<span class="ruby-identifier">reload</span>)
|
|
893
|
-
<span class="ruby-keyword">super</span>
|
|
894
|
-
|
|
895
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-string">"Initializing source sub configuration"</span>)
|
|
896
|
-
<span class="ruby-identifier">init_subconfig</span>(<span class="ruby-keyword">true</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">reload</span>
|
|
897
|
-
|
|
898
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Setting source configuration project"</span>)
|
|
899
|
-
<span class="ruby-ivar">@project</span> = <span class="ruby-constant">CORL</span>.<span class="ruby-identifier">project</span>(<span class="ruby-identifier">extended_config</span>(<span class="ruby-value">:project</span>, {
|
|
900
|
-
<span class="ruby-value">:directory</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">_delete</span>(<span class="ruby-value">:directory</span>, <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">pwd</span>),
|
|
901
|
-
<span class="ruby-value">:url</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">_delete</span>(<span class="ruby-value">:url</span>),
|
|
902
|
-
<span class="ruby-value">:revision</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">_delete</span>(<span class="ruby-value">:revision</span>),
|
|
903
|
-
<span class="ruby-value">:create</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">_delete</span>(<span class="ruby-value">:create</span>, <span class="ruby-keyword">false</span>),
|
|
904
|
-
<span class="ruby-value">:pull</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">true</span>,
|
|
905
|
-
<span class="ruby-value">:internal_ip</span> =<span class="ruby-operator">></span> <span class="ruby-constant">CORL</span>.<span class="ruby-identifier">public_ip</span>, <span class="ruby-comment"># Needed for seeding Vagrant VMs</span>
|
|
906
|
-
<span class="ruby-value">:manage_ignore</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">true</span>
|
|
907
|
-
}), <span class="ruby-identifier">_delete</span>(<span class="ruby-value">:project_provider</span>))
|
|
908
|
-
|
|
909
|
-
<span class="ruby-identifier">_init</span>(<span class="ruby-value">:autoload</span>, <span class="ruby-keyword">true</span>)
|
|
910
|
-
<span class="ruby-identifier">_init</span>(<span class="ruby-value">:autosave</span>, <span class="ruby-keyword">false</span>)
|
|
911
|
-
|
|
912
|
-
<span class="ruby-keyword">yield</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
913
|
-
|
|
914
|
-
<span class="ruby-identifier">set_location</span>(<span class="ruby-ivar">@project</span>)
|
|
915
|
-
<span class="ruby-keyword">end</span></pre>
|
|
916
|
-
</div><!-- normalize-source -->
|
|
917
|
-
|
|
918
|
-
</div>
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
</div><!-- normalize-method -->
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
<div id="method-i-project" class="method-detail ">
|
|
927
|
-
|
|
928
|
-
<div class="method-heading">
|
|
929
|
-
<span class="method-name">project</span><span
|
|
930
|
-
class="method-args">()</span>
|
|
931
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
932
|
-
</div>
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
<div class="method-description">
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
<div class="method-source-code" id="project-source">
|
|
942
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 52</span>
|
|
943
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">project</span>
|
|
944
|
-
<span class="ruby-ivar">@project</span>
|
|
945
|
-
<span class="ruby-keyword">end</span></pre>
|
|
946
|
-
</div><!-- project-source -->
|
|
947
|
-
|
|
948
|
-
</div>
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
</div><!-- project-method -->
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
<div id="method-i-remote" class="method-detail ">
|
|
957
|
-
|
|
958
|
-
<div class="method-heading">
|
|
959
|
-
<span class="method-name">remote</span><span
|
|
960
|
-
class="method-args">(name)</span>
|
|
961
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
962
|
-
</div>
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
<div class="method-description">
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
<div class="method-source-code" id="remote-source">
|
|
972
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 130</span>
|
|
973
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remote</span>(<span class="ruby-identifier">name</span>)
|
|
974
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">remote</span>(<span class="ruby-identifier">name</span>)
|
|
975
|
-
<span class="ruby-keyword">end</span></pre>
|
|
976
|
-
</div><!-- remote-source -->
|
|
977
|
-
|
|
978
|
-
</div>
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
</div><!-- remote-method -->
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
<div id="method-i-remove" class="method-detail ">
|
|
987
|
-
|
|
988
|
-
<div class="method-heading">
|
|
989
|
-
<span class="method-name">remove</span><span
|
|
990
|
-
class="method-args">(options = {}) { |method_config| ... }</span>
|
|
991
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
992
|
-
</div>
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
<div class="method-description">
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
<div class="method-source-code" id="remove-source">
|
|
1002
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 199</span>
|
|
1003
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">options</span> = {})
|
|
1004
|
-
<span class="ruby-identifier">method_config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1005
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">false</span>
|
|
1006
|
-
|
|
1007
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">can_persist?</span>
|
|
1008
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-value">:delete</span>, { <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
1009
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Removing source configuration"</span>)
|
|
1010
|
-
|
|
1011
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">clear</span>
|
|
1012
|
-
|
|
1013
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">method_config</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
1014
|
-
<span class="ruby-keyword">end</span>
|
|
1015
|
-
<span class="ruby-keyword">else</span>
|
|
1016
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-string">"Can not remove source configuration"</span>)
|
|
1017
|
-
<span class="ruby-keyword">end</span>
|
|
1018
|
-
<span class="ruby-identifier">success</span>
|
|
1019
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1020
|
-
</div><!-- remove-source -->
|
|
1021
|
-
|
|
1022
|
-
</div>
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
</div><!-- remove-method -->
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
<div id="method-i-remove_plugin" class="method-detail ">
|
|
1031
|
-
|
|
1032
|
-
<div class="method-heading">
|
|
1033
|
-
<span class="method-name">remove_plugin</span><span
|
|
1034
|
-
class="method-args">()</span>
|
|
1035
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1036
|
-
</div>
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
<div class="method-description">
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
<div class="method-source-code" id="remove_plugin-source">
|
|
1046
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 38</span>
|
|
1047
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_plugin</span>
|
|
1048
|
-
<span class="ruby-constant">CORL</span>.<span class="ruby-identifier">remove_plugin</span>(<span class="ruby-ivar">@project</span>)
|
|
1049
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1050
|
-
</div><!-- remove_plugin-source -->
|
|
1051
|
-
|
|
1052
|
-
</div>
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
</div><!-- remove_plugin-method -->
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
<div id="method-i-save" class="method-detail ">
|
|
1061
|
-
|
|
1062
|
-
<div class="method-heading">
|
|
1063
|
-
<span class="method-name">save</span><span
|
|
1064
|
-
class="method-args">(options = {}) { |method_config| ... }</span>
|
|
1065
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1066
|
-
</div>
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
<div class="method-description">
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
<div class="method-source-code" id="save-source">
|
|
1076
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 180</span>
|
|
1077
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span> = {})
|
|
1078
|
-
<span class="ruby-identifier">method_config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1079
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">false</span>
|
|
1080
|
-
|
|
1081
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">can_persist?</span>
|
|
1082
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-value">:save</span>, { <span class="ruby-value">:config</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">method_config</span> })
|
|
1083
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span>(<span class="ruby-string">"Saving source configuration"</span>)
|
|
1084
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Source configuration properties: #{config.export}"</span>)
|
|
1085
|
-
|
|
1086
|
-
<span class="ruby-identifier">success</span> = <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">method_config</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
1087
|
-
<span class="ruby-keyword">end</span>
|
|
1088
|
-
<span class="ruby-keyword">else</span>
|
|
1089
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-string">"Can not save source configuration"</span>)
|
|
1090
|
-
<span class="ruby-keyword">end</span>
|
|
1091
|
-
<span class="ruby-identifier">success</span>
|
|
1092
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1093
|
-
</div><!-- save-source -->
|
|
1094
|
-
|
|
1095
|
-
</div>
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
</div><!-- save-method -->
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
<div id="method-i-set" class="method-detail ">
|
|
1104
|
-
|
|
1105
|
-
<div class="method-heading">
|
|
1106
|
-
<span class="method-name">set</span><span
|
|
1107
|
-
class="method-args">(keys, value = '', options = {})</span>
|
|
1108
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1109
|
-
</div>
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
<div class="method-description">
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
<div class="method-source-code" id="set-source">
|
|
1119
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 109</span>
|
|
1120
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">keys</span>, <span class="ruby-identifier">value</span> = <span class="ruby-string">''</span>, <span class="ruby-identifier">options</span> = {})
|
|
1121
|
-
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">keys</span>, <span class="ruby-identifier">value</span>)
|
|
1122
|
-
<span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">autosave</span>
|
|
1123
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1124
|
-
</div><!-- set-source -->
|
|
1125
|
-
|
|
1126
|
-
</div>
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
</div><!-- set-method -->
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
<div id="method-i-set_location" class="method-detail ">
|
|
1135
|
-
|
|
1136
|
-
<div class="method-heading">
|
|
1137
|
-
<span class="method-name">set_location</span><span
|
|
1138
|
-
class="method-args">(directory)</span>
|
|
1139
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1140
|
-
</div>
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
<div class="method-description">
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
<div class="method-source-code" id="set_location-source">
|
|
1150
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 96</span>
|
|
1151
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_location</span>(<span class="ruby-identifier">directory</span>)
|
|
1152
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">directory</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">directory</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">CORL</span><span class="ruby-operator">::</span><span class="ruby-constant">Plugin</span><span class="ruby-operator">::</span><span class="ruby-constant">Project</span>)
|
|
1153
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Setting source project directory from other project at #{directory.directory}"</span>)
|
|
1154
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">set_location</span>(<span class="ruby-identifier">directory</span>.<span class="ruby-identifier">directory</span>)
|
|
1155
|
-
|
|
1156
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">directory</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">directory</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">directory</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Symbol</span>)
|
|
1157
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Setting source project directory to #{directory}"</span>)
|
|
1158
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">set_location</span>(<span class="ruby-identifier">directory</span>.<span class="ruby-identifier">to_s</span>)
|
|
1159
|
-
<span class="ruby-keyword">end</span>
|
|
1160
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1161
|
-
</div><!-- set_location-source -->
|
|
1162
|
-
|
|
1163
|
-
</div>
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
</div><!-- set_location-method -->
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
<div id="method-i-set_remote" class="method-detail ">
|
|
1172
|
-
|
|
1173
|
-
<div class="method-heading">
|
|
1174
|
-
<span class="method-name">set_remote</span><span
|
|
1175
|
-
class="method-args">(name, location)</span>
|
|
1176
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1177
|
-
</div>
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
<div class="method-description">
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
<div class="method-source-code" id="set_remote-source">
|
|
1187
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/configuration.rb, line 136</span>
|
|
1188
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_remote</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">location</span>)
|
|
1189
|
-
<span class="ruby-identifier">project</span>.<span class="ruby-identifier">set_remote</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">location</span>)
|
|
1190
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1191
|
-
</div><!-- set_remote-source -->
|
|
1192
|
-
|
|
1193
|
-
</div>
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
</div><!-- set_remote-method -->
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
</section><!-- public-instance-method-details -->
|
|
1202
|
-
|
|
1203
|
-
</section><!-- 5Buntitled-5D -->
|
|
1204
|
-
|
|
1205
|
-
</div><!-- documentation -->
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
<footer id="validator-badges">
|
|
1209
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
1210
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
|
|
1211
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
1212
|
-
</footer>
|
|
1213
|
-
|