Skip to content

Commit

Permalink
remove assert_private (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Dec 12, 2019
1 parent 28f013e commit d96e43b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions manifests/authorized_keys.pp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
Boolean $manage_ssh_dir = true,
){

assert_private()

if $authorized_keys_file {
$ssh_dir = accounts_parent_dir($authorized_keys_file)
$auth_key_file = $authorized_keys_file
Expand Down
2 changes: 0 additions & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
Hash $options = {}
) {

assert_private()

if has_key($options, 'umask') {
$umask = $options['umask']
augeas {'Set umask':
Expand Down
2 changes: 0 additions & 2 deletions manifests/group.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
String $provider = 'gpasswd',
) {

assert_private()

# avoid problems when group declared elsewhere
ensure_resource('group', $groupname, {
'ensure' => $ensure,
Expand Down
2 changes: 0 additions & 2 deletions manifests/user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@
Optional[Variant[String, Integer]] $ssh_dir_group = undef,
) {

assert_private()

if $pwhash != '' and $password {
fail("You cannot set both \$pwhash and \$password for ${username}.")
}
Expand Down

0 comments on commit d96e43b

Please sign in to comment.