From 39a613b7dab9ef74c39ac21468cf95131dfecaad Mon Sep 17 00:00:00 2001 From: Melissa Stone Date: Fri, 17 Aug 2018 15:09:32 -0700 Subject: (PUP-9052) Bump puppet req to at least puppet 6 --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 239a463..4c496ae 100644 --- a/metadata.json +++ b/metadata.json @@ -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.5.0", -- cgit v1.2.3 From afe91f119c874a7e36b3d708a274b16240b6b257 Mon Sep 17 00:00:00 2001 From: Melissa Stone Date: Fri, 17 Aug 2018 15:13:01 -0700 Subject: (PUP-9053) Enable localization --- locales/config.yaml | 24 +++++++++++++++++++ locales/puppetlabs-sshkeys_core.pot | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 locales/config.yaml create mode 100644 locales/puppetlabs-sshkeys_core.pot diff --git a/locales/config.yaml b/locales/config.yaml new file mode 100644 index 0000000..dcbf4e9 --- /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 .pot? + project_name: puppetlabs-sshkeys_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 + # + package_name: puppetlabs-sshkeys_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-sshkeys_core.pot b/locales/puppetlabs-sshkeys_core.pot new file mode 100644 index 0000000..90c988b --- /dev/null +++ b/locales/puppetlabs-sshkeys_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-sshkeys_core package. +# FIRST AUTHOR , 2018. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: puppetlabs-sshkeys_core 1.0.0-8-g39a613b\n" +"\n" +"Report-Msgid-Bugs-To: docs@puppet.com\n" +"POT-Creation-Date: 2018-08-17 15:12-0700\n" +"PO-Revision-Date: 2018-08-17 15:12-0700\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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/type/ssh_authorized_key.rb:73 +msgid "Key must not contain whitespace: %{value}" +msgstr "" + +#: ../lib/puppet/type/ssh_authorized_key.rb:118 +msgid "Option %{value} is not valid. A single option must either be of the form 'option' or 'option=\"value\". Multiple options must be provided as an array" +msgstr "" + +#: ../lib/puppet/type/ssh_authorized_key.rb:136 +msgid "Attribute 'user' or 'target' is mandatory" +msgstr "" + +#: ../lib/puppet/type/sshkey.rb:53 +msgid "Aliases cannot include whitespace" +msgstr "" + +#: ../lib/puppet/type/sshkey.rb:56 +msgid "Aliases must be provided as an array, not a comma-separated list" +msgstr "" + +#: ../lib/puppet/type/sshkey.rb:67 +msgid "Resourcename cannot include whitespaces" +msgstr "" + +#: ../lib/puppet/type/sshkey.rb:68 +msgid "No comma in resourcename allowed. If you want to specify aliases use the host_aliases property" +msgstr "" -- cgit v1.2.3 From b89630afe4584e2abfc4eaa2e7809e86e6c40801 Mon Sep 17 00:00:00 2001 From: Melissa Stone Date: Fri, 17 Aug 2018 15:15:22 -0700 Subject: Prep for the 1.0.1 release --- CHANGELOG.md | 10 ++++++++++ metadata.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07fb867..d716cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,18 @@ 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-17 +### Added +- (PUP-9053) Enable localization +- (maint) Import missed User type integration test from puppet repo +- (maint) Import the User type unit tests specific to ssh_authorized_keys +### Changed +- (PUP-9052) Bump puppet req to at least puppet 6 +- Install module on all hosts, not just those with default role + ## [1.0.0] - 2018-07-17 ### Summary This is the initial release of the extracted sshkeys module. +[1.0.1]: https://github.com/puppetlabs/puppetlabs-sshkeys_core/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/puppetlabs/puppetlabs-sshkeys_core/releases/tag/1.0.0 diff --git a/metadata.json b/metadata.json index 4c496ae..6affd91 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-sshkeys_core", - "version": "1.0.0", + "version": "1.0.1", "author": "Puppet Labs", "summary": "Manage SSH authorized keys, and known hosts.", "license": "Apache-2.0", -- cgit v1.2.3