diff --git a/lib/schemas/base_metadata_schema.xsd b/lib/schemas/base_metadata_schema.xsd index 4a82ed4fd..fc6f858ff 100644 --- a/lib/schemas/base_metadata_schema.xsd +++ b/lib/schemas/base_metadata_schema.xsd @@ -57,6 +57,7 @@ + diff --git a/lib/templates/Vagrantfile.erb b/lib/templates/Vagrantfile.erb index 51889f9b6..12b7087ce 100644 --- a/lib/templates/Vagrantfile.erb +++ b/lib/templates/Vagrantfile.erb @@ -28,8 +28,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| else " ovirt.cluster = 'DEFAULT_OVIRT_CLUSTER'" end %> - <%= if(@options.has_key? :ovirttemplate) -" ovirt.template = '#{@options[:ovirttemplate]}'" + <%= if false # TODO +" ovirt.template = '#{true}'" # TODO else " ovirt.template = 'DEFAULT_OVIRT_TEMPLATE'" end %> diff --git a/modules/bases/debian_puppet_32/secgen_metadata.xml b/modules/bases/debian_puppet_32/secgen_metadata.xml index 7f290f58a..4eab05603 100644 --- a/modules/bases/debian_puppet_32/secgen_metadata.xml +++ b/modules/bases/debian_puppet_32/secgen_metadata.xml @@ -20,4 +20,6 @@ https://atlas.hashicorp.com/puppetlabs various + debian_server + \ No newline at end of file diff --git a/secgen.rb b/secgen.rb index e3f76b484..8d95e18b3 100644 --- a/secgen.rb +++ b/secgen.rb @@ -32,7 +32,6 @@ def usage --ovirt-vmname [ovirt_vm_name] (OPTIONAL) --ovirt-url [ovirt_api_url] (OPTIONAL) --ovirt-cluster [ovirt_cluster] (OPTIONAL) - --ovirt-template [ovirt_template] (OPTIONAL) --ovirt-ip [ovirt_static_ip] (OPTIONAL) --ovirt-network [ovirt_network_name] (OPTIONAL) @@ -250,7 +249,6 @@ opts = GetoptLong.new( [ '--ovirtpass', GetoptLong::REQUIRED_ARGUMENT ], [ '--ovirt-url', GetoptLong::REQUIRED_ARGUMENT ], [ '--ovirt-cluster', GetoptLong::REQUIRED_ARGUMENT ], - [ '--ovirt-template', GetoptLong::REQUIRED_ARGUMENT ], [ '--ovirt-ip', GetoptLong::REQUIRED_ARGUMENT ], [ '--ovirt-network', GetoptLong::REQUIRED_ARGUMENT ], ) @@ -316,7 +314,6 @@ opts.each do |opt, arg| when '--ovirt-vmname' Print.info "Ovirt VM Name : #{arg}" options[:ovirtvmname] = arg - filename = arg; when '--ovirtuser' Print.info "Ovirt Username : #{arg}" options[:ovirtuser] = arg @@ -329,9 +326,6 @@ opts.each do |opt, arg| when '--ovirt-cluster' Print.info "Ovirt Cluster : #{arg}" options[:ovirtcluster] = arg - when '--ovirt-template' - Print.info "Ovirt Template : #{arg}" - options[:ovirttemplate] = arg when '--ovirt-ip' Print.info "Ovirt Static IP : #{arg}" options[:ovirtip] = arg @@ -411,5 +405,4 @@ end # set DEFAULT Value in lib/templates/Vagrantfile.erb or use command argument # ovirt-api-url : set DEFAULT_URL (Line 36) # ovirt-cluster : set DEFAULT_CLUSTER (Line 41) -# ovirt-template : set DEFAULT_TEMPLATE (Line 46) # ovirt-network : set DEFAULT_NETWORK (Line 121)