forked from redhat-openstack/openstack-puppet-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request redhat-openstack#19 from saz/devel
Mergel current development branch
- Loading branch information
Showing
11 changed files
with
247 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
class ssh::client { | ||
include ssh::params | ||
class ssh::client( | ||
$options = {} | ||
) inherits ssh::params { | ||
$merged_options = merge($ssh::params::ssh_default_options, $options) | ||
|
||
include ssh::client::install | ||
include ssh::client::config | ||
include ssh::knownhosts | ||
|
||
anchor { 'ssh::client::start': } | ||
anchor { 'ssh::client::end': } | ||
|
||
Anchor['ssh::client::start'] -> | ||
Class['ssh::client::install'] -> | ||
Class['ssh::client::config'] -> | ||
Class['ssh::knownhosts'] -> | ||
Anchor['ssh::client::end'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
class ssh ( | ||
$disable_user_known_hosts = true | ||
) { | ||
include ssh::server | ||
include ssh::client | ||
$server_options = {}, | ||
$client_options = {} | ||
) inherits ssh::params { | ||
class { 'ssh::server': | ||
options => $server_options, | ||
} | ||
|
||
class { 'ssh::client': | ||
options => $client_options, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
class ssh::server { | ||
include ssh::params | ||
class ssh::server( | ||
$options = {} | ||
) inherits ssh::params { | ||
$merged_options = merge($ssh::params::sshd_default_options, $options) | ||
|
||
include ssh::server::install | ||
include ssh::server::config | ||
include ssh::server::service | ||
include ssh::hostkeys | ||
include ssh::knownhosts | ||
|
||
anchor { 'ssh::server::start': } | ||
anchor { 'ssh::server::end': } | ||
|
||
Anchor['ssh::server::start'] -> | ||
Class['ssh::server::install'] -> | ||
Class['ssh::server::config'] ~> | ||
Class['ssh::server::service'] -> | ||
Class['ssh::hostkeys'] -> | ||
Class['ssh::knownhosts'] -> | ||
Anchor['ssh::server::end'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.