* Make `config` target:
* Check if already ran.
* Fail on empty variables.
+* Node templates:
+ * Update to new nodo style (hiera and nodo::role).
web_config.vm.network :hostonly, "192.168.50.104"
end
+ # Define a Storage VM
+ config.vm.define :storage do |storage_config|
+ storage_config.vm.box = "storage"
+ storage_config.vm.network :hostonly, "192.168.50.105"
+ end
+
+ # Define a Test VM
+ config.vm.define :test do |test_config|
+ test_config.vm.box = "test"
+ test_config.vm.network :hostonly, "192.168.50.106"
+ end
+
# Share hiera configuration.
config.vm.share_folder "hiera", "/etc/puppet/hiera", "puppet/hiera", create: true
end
$main_master = true
include nodo::master
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10102",
include nodo::proxy
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10102",
# memory_limit => 500,
#}
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10105",
#}
-
}
include nodo::storage
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10102",
include nodo::test
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10102",
include nodo::web
- # encrypted local backups
- #backup::duplicity { "localhost":
- # encryptkey => "ABCDEF12",
- # password => 'xxxyyy',
- #}
-
# encrypted data remote backup
#backup::rdiff { "other-host":
# port => "10102",