aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md8
-rw-r--r--locales/config.yaml24
-rw-r--r--locales/puppetlabs-host_core.pot48
-rw-r--r--metadata.json4
4 files changed, 82 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fded49a..542f8c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
+## [1.0.1] - 2018-08-20
+### Added
+- (PUP-9053) Enable localization
+### Changed
+- (PUP-9052) Bump puppet req to at least puppet 6
+- Include puppet 6 and remove default role
+
## [1.0.0] - 2018-07-13
### Summary
This is the initial release of the extracted host module
+[1.0.1]: https://github.com/puppetlabs/puppetlabs-host_core/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/puppetlabs/puppetlabs-host_core/releases/tag/1.0.0
diff --git a/locales/config.yaml b/locales/config.yaml
new file mode 100644
index 0000000..1db99f5
--- /dev/null
+++ b/locales/config.yaml
@@ -0,0 +1,24 @@
+# This is the project-specific configuration file for setting up
+# fast_gettext for your project.
+gettext:
+ # This is used for the name of the .pot and .po files; they will be
+ # called <project_name>.pot?
+ project_name: puppetlabs-host_core
+ # This is used in comments in the .pot and .po files to indicate what
+ # project the files belong to and should bea little more desctiptive than
+ # <project_name>
+ package_name: puppetlabs-host_core
+ # The locale that the default messages in the .pot file are in
+ default_locale: en
+ # The email used for sending bug reports.
+ bugs_address: docs@puppet.com
+ # The holder of the copyright.
+ copyright_holder: Puppet, Inc.
+ # This determines which comments in code should be eligible for translation.
+ # Any comments that start with this string will be externalized. (Leave
+ # empty to include all.)
+ comments_tag: TRANSLATOR
+ # Patterns for +Dir.glob+ used to find all files that might contain
+ # translatable content, relative to the project root directory
+ source_files:
+ - './lib/**/*.rb'
diff --git a/locales/puppetlabs-host_core.pot b/locales/puppetlabs-host_core.pot
new file mode 100644
index 0000000..079f394
--- /dev/null
+++ b/locales/puppetlabs-host_core.pot
@@ -0,0 +1,48 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2018 Puppet, Inc.
+# This file is distributed under the same license as the puppetlabs-host_core package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: puppetlabs-host_core 1.0.0-2-g10dd80a\n"
+"\n"
+"Report-Msgid-Bugs-To: docs@puppet.com\n"
+"POT-Creation-Date: 2018-08-20 11:22-0700\n"
+"PO-Revision-Date: 2018-08-20 11:22-0700\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: ../lib/puppet/provider/host/parsed.rb:36
+msgid "%{attr} is a required attribute for hosts"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:30
+msgid "Invalid IP address %{value}"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:49
+msgid "Host aliases cannot include whitespace"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:50
+msgid "Host aliases cannot be an empty string. Use an empty array to delete all host_aliases "
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:58
+msgid "Comment cannot include newline"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:84
+msgid "Invalid host name"
+msgstr ""
+
+#: ../lib/puppet/type/host.rb:88
+msgid "Hostname cannot include newline"
+msgstr ""
diff --git a/metadata.json b/metadata.json
index 97f439c..3dc1dd7 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-host_core",
- "version": "1.0.0",
+ "version": "1.0.1",
"author": "Puppet Labs",
"summary": "Installs and manages host entries",
"license": "Apache-2.0",
@@ -83,7 +83,7 @@
"requirements": [
{
"name": "puppet",
- "version_requirement": ">= 4.7.0 < 7.0.0"
+ "version_requirement": ">= 6.0.0 < 7.0.0"
}
],
"pdk-version": "1.6.0",