1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
method A: copy key for bob into bob's account.. copy joe's key into joes account $idcadmin_user_keys = [ "bob", "joe" ] auth::key {$idcadmin_user_keys: ensure => append } method b: copy a list of keys ($user_keys) into 'build' account $user_keys = [ file("/etc/puppet/files/idcadmin/auth/keys/bob.pub"), file("/etc/puppet/files/idcadmin/auth/keys/joe.pub") ] auth::key {build: ensure => replace, sourcekeys => $user_keys, } |

