Sha256: 05d50144f3c43ac900b7f4bb1953ce0e4690e8a506d9e428c0233f6e988a8ee1

Contents?: true

Size: 283 Bytes

Versions: 14

Compression:

Stored size: 283 Bytes

Contents

class users {

  $hiera_users = hiera("user_accounts")
  each($hiera_users) |$value| {
    $name = $value[name]
    $email = $value[email]
    $uid = $value[uid]
    $key = $value[key]
    users::user { $name:
      uid => $uid,
      email => $email,
      key => $key,
    }
  }
}

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
bebox-0.1.5 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.5 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.1.4 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.4 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.1.3 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.1.3 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.2 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.2 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.1.1 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.1 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.1.0 lib/templates/puppet/step-1/modules/users/manifests/init.pp
bebox-0.1.0 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.0.1 lib/templates/puppet/step-0/modules/users/manifests/init.pp
bebox-0.0.1 lib/templates/puppet/step-1/modules/users/manifests/init.pp