diff --git a/Vagrantfile b/Vagrantfile --- a/Vagrantfile +++ b/Vagrantfile @@ -162,6 +162,36 @@ end end + global_config.vm.define :"staging-objstorage0" do |config| + # config.ssh.insert_key = false + config.vm.box = $global_debian10_box + config.vm.box_url = $global_debian10_box_url + config.vm.box_check_update = false + config.vm.hostname = "objstorage0.internal.staging.swh.network" + config.vm.network :private_network, ip: "10.168.130.110", netmask: "255.255.255.0" + + config.vm.synced_folder "/tmp/puppet/", "/tmp/puppet", type: 'nfs' + # ssl certificates share + config.vm.synced_folder "vagrant/le_certs", "/etc/puppet/le_certs", type: 'nfs' + + config.vm.provider :libvirt do |provider| + provider.memory = 512 + provider.cpus = 2 + # local test run: https://github.com/vagrant-libvirt/vagrant-libvirt/issues/45 + provider.driver = 'kvm' + end + config.vm.provision "puppet" do |puppet| + puppet.environment_path = "#{environment_path}" + puppet.environment = "#{environment}" + puppet.hiera_config_path = "#{puppet.environment_path}/#{puppet.environment}/hiera.yaml" + puppet.manifest_file = "#{manifest_file}" + puppet.manifests_path = "#{manifests_path}" + puppet.options = "#{puppet_options}" + puppet.facter = puppet_staging_facts + puppet.synced_folder_type = 'nfs' + end + end + global_config.vm.define :"staging-deposit" do |config| config.vm.box = $global_debian10_box config.vm.box_url = $global_debian10_box_url diff --git a/vagrant/le_certs/objstorage_staging/cert.pem b/vagrant/le_certs/objstorage_staging/cert.pem new file mode 100644 --- /dev/null +++ b/vagrant/le_certs/objstorage_staging/cert.pem @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDbTCCAlWgAwIBAgIUaVu80wq4seS1CRJG+ARBkZebmiIwDQYJKoZIhvcNAQEL +BQAwRjELMAkGA1UEBhMCRlIxDjAMBgNVBAgMBVBhcmlzMScwJQYDVQQDDB5vYmpz +dG9yYWdlLnN0YWdpbmcuc3doLm5ldHdvcmswHhcNMjAxMjIxMTUyMDQ4WhcNMjMw +OTE2MTUyMDQ4WjBGMQswCQYDVQQGEwJGUjEOMAwGA1UECAwFUGFyaXMxJzAlBgNV +BAMMHm9ianN0b3JhZ2Uuc3RhZ2luZy5zd2gubmV0d29yazCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBAL2UOJE4gxM9j5f8xfg9V0b+EQs5tR6fcEwJd/HN +vtwEQ/WklQxO6XdYn6wvXf5PNmiUvhZKknaeCZenM5qtmOLTDCiUswmJzPoI8Fdg +yIe7hcKKHOJmEymscadQiFahMekFxNggpZ8XbIiX5yxfTCbOJeN7FOdvQJ/zPgjQ +KdnZUG2L1RLLec2QkPHxkPrlScFzo+Blo4St9Qo9jpTcn0DhE0LQgs4SLyu4GW0/ ++Ul21q/B4E4zzlPQy4UIF20B9brovnz//pWO6xCgUHZDjiYEJaQBsK2aO51RIpLz +2SQkdjAFUiSSz5vEDwRaZs7cGoxNPhhwJ98Npm1Bq3gSYhMCAwEAAaNTMFEwHQYD +VR0OBBYEFGiszMwQC1euu55y8ERgsJfL0RJgMB8GA1UdIwQYMBaAFGiszMwQC1eu +u55y8ERgsJfL0RJgMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB +ADgGqP1xxKOGGz5EftaYQjE0xQd9k6FZJlAnJhkuflzzTim8x7urDnKABITRTuih +r3VKKun6nIEDOFJ7iOZNeTTFXjU0RLjm3JTTmOOsHeNX4djrnidUde3434F5oSW6 +S/B1vtNqVpwK2Mdrc6OrNznrNPjj6bMKOlL0ULSKRo2beXcNfSCUJS6uspIuYMRk +FKZbNo5vkIEaRCfuCmLz+VngyGv832g2eep7asGg2jLuZSRkXO0iNi1rXbXDWAAn +Xrkrl+bPuEzSiANh93u64s1eAclr+1GsY8MDmEGw+HRG5XmFks7i7hrf6bILkB7J +v5X7fuSB9ArfuBCOB3ejctk= +-----END CERTIFICATE----- diff --git a/vagrant/le_certs/objstorage_staging/chain.pem b/vagrant/le_certs/objstorage_staging/chain.pem new file mode 100644 --- /dev/null +++ b/vagrant/le_certs/objstorage_staging/chain.pem @@ -0,0 +1,21 @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kIEaRCfuCmLz+VngyGv832g2eep7asGg2jLuZSRkXO0iNi1rXbXDWAAn +Xrkrl+bPuEzSiANh93u64s1eAclr+1GsY8MDmEGw+HRG5XmFks7i7hrf6bILkB7J +v5X7fuSB9ArfuBCOB3ejctk= +-----END CERTIFICATE----- diff --git a/vagrant/le_certs/objstorage_staging/fullchain.pem b/vagrant/le_certs/objstorage_staging/fullchain.pem new file mode 100644 --- /dev/null +++ b/vagrant/le_certs/objstorage_staging/fullchain.pem @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDbTCCAlWgAwIBAgIUaVu80wq4seS1CRJG+ARBkZebmiIwDQYJKoZIhvcNAQEL +BQAwRjELMAkGA1UEBhMCRlIxDjAMBgNVBAgMBVBhcmlzMScwJQYDVQQDDB5vYmpz +dG9yYWdlLnN0YWdpbmcuc3doLm5ldHdvcmswHhcNMjAxMjIxMTUyMDQ4WhcNMjMw +OTE2MTUyMDQ4WjBGMQswCQYDVQQGEwJGUjEOMAwGA1UECAwFUGFyaXMxJzAlBgNV +BAMMHm9ianN0b3JhZ2Uuc3RhZ2luZy5zd2gubmV0d29yazCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBAL2UOJE4gxM9j5f8xfg9V0b+EQs5tR6fcEwJd/HN +vtwEQ/WklQxO6XdYn6wvXf5PNmiUvhZKknaeCZenM5qtmOLTDCiUswmJzPoI8Fdg +yIe7hcKKHOJmEymscadQiFahMekFxNggpZ8XbIiX5yxfTCbOJeN7FOdvQJ/zPgjQ +KdnZUG2L1RLLec2QkPHxkPrlScFzo+Blo4St9Qo9jpTcn0DhE0LQgs4SLyu4GW0/ ++Ul21q/B4E4zzlPQy4UIF20B9brovnz//pWO6xCgUHZDjiYEJaQBsK2aO51RIpLz +2SQkdjAFUiSSz5vEDwRaZs7cGoxNPhhwJ98Npm1Bq3gSYhMCAwEAAaNTMFEwHQYD +VR0OBBYEFGiszMwQC1euu55y8ERgsJfL0RJgMB8GA1UdIwQYMBaAFGiszMwQC1eu +u55y8ERgsJfL0RJgMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB +ADgGqP1xxKOGGz5EftaYQjE0xQd9k6FZJlAnJhkuflzzTim8x7urDnKABITRTuih +r3VKKun6nIEDOFJ7iOZNeTTFXjU0RLjm3JTTmOOsHeNX4djrnidUde3434F5oSW6 +S/B1vtNqVpwK2Mdrc6OrNznrNPjj6bMKOlL0ULSKRo2beXcNfSCUJS6uspIuYMRk +FKZbNo5vkIEaRCfuCmLz+VngyGv832g2eep7asGg2jLuZSRkXO0iNi1rXbXDWAAn +Xrkrl+bPuEzSiANh93u64s1eAclr+1GsY8MDmEGw+HRG5XmFks7i7hrf6bILkB7J +v5X7fuSB9ArfuBCOB3ejctk= +-----END CERTIFICATE----- diff --git a/vagrant/le_certs/objstorage_staging/privkey.pem b/vagrant/le_certs/objstorage_staging/privkey.pem new file mode 100644 --- /dev/null +++ b/vagrant/le_certs/objstorage_staging/privkey.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC9lDiROIMTPY+X +/MX4PVdG/hELObUen3BMCXfxzb7cBEP1pJUMTul3WJ+sL13+TzZolL4WSpJ2ngmX +pzOarZji0wwolLMJicz6CPBXYMiHu4XCihziZhMprHGnUIhWoTHpBcTYIKWfF2yI +l+csX0wmziXjexTnb0Cf8z4I0CnZ2VBti9USy3nNkJDx8ZD65UnBc6PgZaOErfUK +PY6U3J9A4RNC0ILOEi8ruBltP/lJdtavweBOM85T0MuFCBdtAfW66L58//6VjusQ +oFB2Q44mBCWkAbCtmjudUSKS89kkJHYwBVIkks+bxA8EWmbO3BqMTT4YcCffDaZt +Qat4EmITAgMBAAECggEBAKmrJE1kRHtN11vxkMSxMZGKBXsEdMMpcvm6Z6zztON4 +tdH9MKBJZ822dYFHC1p1Tn6e0NlmeFrM6kzeCeNfhrtKo1EWdH4O5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