Showing with 5 additions and 5 deletions.
  1. +2 −2 manifests/init.pp
  2. +3 −3 metadata.json
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
}

if !is_string($my_localhost_aliases) and !is_array($my_localhost_aliases) {
fail("hosts::localhost_aliases must be a string or an array.")
fail('hosts::localhost_aliases must be a string or an array.')
}

if !is_string($my_localhost6_aliases) and !is_array($my_localhost6_aliases) {
fail("hosts::localhost6_aliases must be a string or an array.")
fail('hosts::localhost6_aliases must be a string or an array.')
}

if $fqdn_entry_enabled == true {
Expand Down
6 changes: 3 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "ghoneycutt-hosts",
"version": "2.2.3",
"version": "2.2.4",
"author": "ghoneycutt",
"summary": "Manages host entries",
"description": "Can ensure entries for localhost, localhost6, and $::fqdn,\nincluding aliases and optionally purge unmanaged entries.",
"license": "Apache-2.0",
"source": "git://github.com/ghoneycutt/puppet-module-hosts.git",
"project_page": "https://github.com/ghoneycutt/puppet-module-hosts",
Expand Down Expand Up @@ -46,8 +47,7 @@
"operatingsystem": "Ubuntu"
}
],
"description": "Can ensure entries for localhost, localhost6, and $::fqdn,\nincluding aliases and optionally purge unmanaged entries.",
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 3.2.0 < 5.0.0"}
{"name":"puppetlabs/stdlib","version_requirement":">= 3.2.0 < 6.0.0"}
]
}