Skip to content

Commit

Permalink
(SIMP-6864) Fix errata in lockout prevention instructions (#136)
Browse files Browse the repository at this point in the history
SIMP-6864 #close
  • Loading branch information
lnemsick-simp authored and judyj committed Aug 7, 2019
1 parent 7f5557e commit 44eaa3e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion build/rubygem-simp-cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

%global gemdir /usr/share/simp/ruby
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global cli_version 5.0.2
%global cli_version 5.0.3
%global highline_version 1.7.8

# gem2ruby's method of installing gems into mocked build roots will blow up
Expand Down Expand Up @@ -129,6 +129,10 @@ EOM
%doc %{gemdir}/doc

%changelog
* Wed Aug 07 2019 Liz Nemsick <[email protected]> - 5.0.3
- Fix errata in instructions on how to prevent possible root lockout
from the SIMP server.

* Tue Jul 30 2019 Liz Nemsick <[email protected]> - 5.0.2
- Flesh out incomplete instructions on how to prevent possible root
lockout from the SIMP server.
Expand Down
7 changes: 4 additions & 3 deletions lib/simp/cli/config/items/action/warn_lockout_risk_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ def initialize(puppet_env_info = DEFAULT_PUPPET_ENV_INFO)
In these instructions, you will create a manifest in a local module, `mymodule`,
in the `production` Puppet environment. Execute these operations as `root`.
* See https://puppet.com/docs/puppet/latest/modules.html for information on how
to create a Puppet module.
* See https://puppet.com/docs/puppet/latest/modules.html for information on how
to create a Puppet module.
* Be sure to create a metadata.json file for your module.
1. Create a local user account, as needed, using `useradd`. This example
assumes the local user is `userx`.
Expand Down Expand Up @@ -121,7 +122,7 @@ class mymodule::local_user (
`/etc/puppetlabs/code/environments/production/Puppetfile`, and add a line
under the section that says "Add your own Puppet modules here"
mod 'mymodule'; :local => true
mod 'mymodule', :local => true
Next Steps
----------
Expand Down
2 changes: 1 addition & 1 deletion lib/simp/cli/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Simp; end

class Simp::Cli
VERSION = '5.0.2'
VERSION = '5.0.3'
end

0 comments on commit 44eaa3e

Please sign in to comment.