Skip to content

Commit

Permalink
<= not ==, to be precise
Browse files Browse the repository at this point in the history
  • Loading branch information
Carthik Sharma committed Sep 1, 2015
1 parent d129fd4 commit 8b9fd5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
create_resources('windows_ad::group',$groups_real)
}

if type_of($users_hiera_merge) == String {
if type_of($users_hiera_merge) <= String {
$users_hiera_merge_real = str2bool($users_hiera_merge)
} else {
$users_hiera_merge_real = $users_hiera_merge
Expand All @@ -147,7 +147,7 @@
create_resources('windows_ad::user',$users_real)
}

if type_of($usersingroup_hiera_merge) == String {
if type_of($usersingroup_hiera_merge) <= String {
$usersingroup_hiera_merge_real = str2bool($usersingroup_hiera_merge)
} else {
$usersingroup_hiera_merge_real = $usersingroup_hiera_merge
Expand Down

0 comments on commit 8b9fd5e

Please sign in to comment.