Correct indentation and double quote.

Correct metadata.json
This 0.0.2 version was successfully push to the forgelabs.
This commit is contained in:
gardouille 2015-01-09 00:30:15 +01:00
parent e11e56b21c
commit 6801503b58
6 changed files with 16 additions and 11 deletions

View File

@ -1,13 +1,21 @@
---------------------------------------
### 0.0.2 - 2014/01/08
New functionality release, it's now install proxmox :)
New functionality release, Proxmox installation now working :)
##### Changes
* (#1) Possibility to choose between newer kernel that only supports KVM or a ~2.6.32 that supports both KVM and OpenVZ.
* (#1) Install the Virtual Environment and it's works with 2 puppet run.
* Add new test (hypervisor_kvm_only).
* Add a fact to check if Proxmox is "available".
* Add a new class: proxmox::hypervisor::config for some tiny configurations.
* Remove the subscription message in the web gui.
* Add operatingsystem_support information in the metadata.json (to correct the error in Metadata Quality).
* Correct wtfpl into WTFPL to be recognized by SPDX (Metadata Quality).
* Correct indentation, double quote, ...
---------------------------------------

View File

@ -26,9 +26,7 @@ To begin using proxmox module with default parameters, declare the hypervisor's
### Hypervisor
```
class { 'proxmox::hypervisor':
}
include proxmox::hypervisor
```
If you will use only KVM you can have a most recent kernel with:

View File

@ -47,7 +47,7 @@ class proxmox::hypervisor::install {
# Remove useless packages (such as the standard kernel, acpid, ...)
package { $proxmox::hypervisor::old_pkg_name:
ensure => "${proxmox::hypervisor::old_pkg_ensure}",
notify => Exec['update_grub'],
notify => Exec['update_grub'],
}
# Ensure that some recommended packages are present on the system

View File

@ -27,7 +27,7 @@ class proxmox::hypervisor::preconfig {
"set *[ipaddr = '127.0.0.1']/canonical localhost",
"rm *[ipaddr = '127.0.1.1']",
],
onlyif => "match *[ipaddr = '${::ipaddress}'] size == 0",
onlyif => "match *[ipaddr = '${::ipaddress}'] size == 0",
}
->
# Remove Enterprise repository (need a subscription)
@ -49,10 +49,10 @@ class proxmox::hypervisor::preconfig {
# Set the grub default to saved to be able to use grub-set-default during
# the installation
if ! defined(Augeas["grub_default"]) {
augeas { "grub_default":
context => "/files/etc/default/grub",
augeas { 'grub_default':
context => '/files/etc/default/grub',
changes => [
"set GRUB_DEFAULT saved",
'set GRUB_DEFAULT saved',
],
}
}

View File

@ -18,7 +18,6 @@
#
class proxmox {
notify { "hello world": }
} # Public class: proxmox

View File

@ -10,7 +10,7 @@
"description": "Proxmox module",
"operatingsystem_support": [
{
"operatingsystem":"Debian", "operatingsystemrelease":"7.0"
"operatingsystem":"Debian"
}
],
"dependencies": [