Showing with 83 additions and 3 deletions.
  1. +8 −0 CHANGELOG.md
  2. +24 −0 locales/config.yaml
  3. +48 −0 locales/puppetlabs-host_core.pot
  4. +2 −2 metadata.json
  5. +1 −1 spec/spec_helper_acceptance.rb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
24 changes: 24 additions & 0 deletions locales/config.yaml
Original file line number Diff line number Diff line change
@@ -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'
48 changes: 48 additions & 0 deletions locales/puppetlabs-host_core.pot
Original file line number Diff line number Diff line change
@@ -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 ""
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -83,7 +83,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.7.0 < 6.0.0"
"version_requirement": ">= 6.0.0 < 7.0.0"
}
],
"pdk-version": "1.6.0",
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
c.before :suite do
unless ENV['BEAKER_provision'] == 'no'
run_puppet_install_helper
install_module_on(hosts_as('default'))
install_module_on(hosts)
install_module_dependencies_on(hosts)
end
end
Expand Down