aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-31ssh_authorzed_key: Fix invalid 'options' errorNate McCurdy
Prior to this, the example of a valid "options" value for the ssh_authorized_key type was syntactically incorrect; it did not include the closing single quote. Example of incorrect error message: ``` Error: Parameter options failed on Ssh_authorized_key[testkey]: Option from=foo.com is not valid. A single option must either be of the form 'option' or 'option="value". Multiple options must be provided as an array (file: /tmp/test.pp, line: 5) ``` After this, the error shows the correct syntax for specifying an option: ``` Error: Parameter options failed on Ssh_authorized_key[testkey]: Option from=foo.com is not valid. A single option must either be of the form 'option' or 'option="value"'. Multiple options must be provided as an array (file: /tmp/test.pp, line: 5) ```
2018-10-25Merge pull request #9 from ehom/masterJosh Cooper
(maint) made phrases complete (localization-ready)
2018-10-25(maint) made phrases complete (localization-ready)ehom
2018-08-17Merge pull request #7 from melissa/1.0.1-releaseJosh Cooper
1.0.1 release
2018-08-17Prep for the 1.0.1 releaseMelissa Stone
2018-08-17(PUP-9053) Enable localizationMelissa Stone
2018-08-17(PUP-9052) Bump puppet req to at least puppet 6Melissa Stone
2018-07-25Merge pull request #6 from jhelwig/migrate-user-tests-from-puppet-repoJosh Cooper
(maint) Import missed User type integration test from puppet repo
2018-07-25(maint) Import missed User type integration test from puppet repoJacob Helwig
2018-07-25Merge pull request #5 from jhelwig/migrate-user-tests-from-puppet-repoJosh Cooper
(maint) Import the User type unit tests specific to ssh_authorized_keys
2018-07-24(maint) Import the User type unit tests specific to ssh_authorized_keysJacob Helwig
Since these tests require both the User & Ssh_authorized_keys types are available, they are unlikely to be run as part of the Puppet test suite as this module is unlikely to be installed & available to Puppet's test suite. By moving the tests into this module, we can ensure that they're at least run as part of development of the module.
2018-07-18Merge pull request #4 from puppetlabs/install-module-onJosh Cooper
Install module on all hosts, not just those with default role
2018-07-17Install module on all hosts, not just those with default roleJosh Cooper
* Install module on all hosts, not just those with the default role * Remove dead comment
2018-07-17Merge pull request #3 from jhelwig/merge-release-to-masterMelissa
Merge release to master
2018-07-17Merge pull request #2 from jhelwig/release-prepJosh Cooper
Release prep for 1.0.0
2018-07-17Release prep for 1.0.0Jacob Helwig
2018-07-02Merge pull request #1 from jhelwig/module-updatesMelissa
Import the module
2018-07-02Remove test blocked on ticket marked as "Won't Do"Jacob Helwig
Since PUP-1605 was closed as "Won't Do", there doesn't seem to be much reason in keeping around an acceptance test (even if it is a pending one) that tests the scenario that PUP-1605 would have allowed.
2018-07-02Add default nodeset for acceptance testsJacob Helwig
2018-07-02Update acceptance tests to use RSpec syntaxJacob Helwig
2018-06-26Rename acceptance tests to have _spec at the endJacob Helwig
2018-06-26Update Travis config to test against Puppet 5 & modern RubyJacob Helwig
Rather than using the default config of testing against Puppet 4, and an old Ruby version, we now run the spec tests against Puppet 5, and a version of Ruby that is supported by Puppet 5.
2018-06-26Add README & REFERENCE documentationJacob Helwig
2018-06-25Remove Rubocop Performance/Caller violationJacob Helwig
Turns out that using `caller(n..n).first` is _significantly_ faster than `caller[n]`.
2018-06-25Remove Rubocop Lint/AssignmentInCondition violationJacob Helwig
2018-06-25Remove Rubocop Style/GuardClause violationJacob Helwig
By restructuring this code to use a guard clause style, we can also get rid of the assignment in conditional.
2018-06-25Update PDK templateJacob Helwig
2018-06-25Disable Rubocop Style/Documentation check for type & providerJacob Helwig
The type & provider are documented using tooling that Rubocop isn't aware of, so we just disable this cop for those files.
2018-06-25Remove Rubocop Layout/MultilineMethodCallIndentation violationsJacob Helwig
2018-06-25Remove Rubocop Style/TrailingCommaInLiteral violationJacob Helwig
2018-06-25Remove Rubocop Metrics/LineLength violationJacob Helwig
2018-06-25Disable Rubocop Metrics/LineLength check for SSH key linesJacob Helwig
SSH keys are long, and splitting them into multiple lines can be error-prone, so we'll just disable the Metrics/LineLength check for lines that are SSH keys.
2018-06-25Disable Rubocop RSpec/AnyInstance check for specific instancesJacob Helwig
There isn't really a clean way to disable FileBucket backups without stubbing any_instance in these cases.
2018-06-25Remove Rubocop RSpec/DescribeMethod violationsJacob Helwig
2018-06-25Clean up hard tabs and whitespaceJacob Helwig
2018-06-25Fix duplicate test removing RSpec/RepeatedExample violationJacob Helwig
The "array host_alias" test was never actually testing against a list of host aliases, as it was using the exact same code as the "single host_alias" test. We now test against an actual array of host aliases in the manifest, and check that it is properly written out to the file.
2018-06-25Remove Rubocop RSpec/ScatteredLet violationsJacob Helwig
2018-06-25Remove Rubocop Lint/AmbiguousBlockAssociation violationJacob Helwig
2018-06-25Remove Rubocop RSpec/InstanceVariable violationsJacob Helwig
2018-06-22Update PDK template filesJacob Helwig
2018-06-22Disable Rubocop RSpec/NamedSubject checkJacob Helwig
2018-06-22Remove Rubocop Style/BlockDelimiters violationsJacob Helwig
2018-06-22Clean up Rubocop Lint/ScriptPermission violationsJacob Helwig
2018-06-21Apply automatic PDK validation cleanupJacob Helwig
2018-06-21Initial sshkey type import from Puppet repositoryJacob Helwig
Imported from dbf5a8964af9b87446542d24f46534cf90f11f59 in the Puppet repo.