Skip to content

Commit

Permalink
(profile::core::common) order ssh class after easy_ipa class
Browse files Browse the repository at this point in the history
As `ipa-client-install` makes changes to `/etc/ssh/ssh_config`.
  • Loading branch information
jhoblitt committed Oct 18, 2023
1 parent d844b4e commit 1d612e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/profile/manifests/core/common.pp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
include timezone
include tuned

Class['easy_ipa'] -> Class['ssh']

if fact('os.family') == 'RedHat' {
include epel
include profile::core::yum
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def node_files
include_examples 'krb5.conf.d files', facts: facts
include_examples 'sssd services'

it { is_expected.to contain_class('ssh').that_requires('Class[easy_ipa]') }

it do
# XXX dev is using ls ipa servers
next if site == 'dev'
Expand Down

0 comments on commit 1d612e6

Please sign in to comment.