1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
err: Could not retrieve catalog: Failed to execute generator /usr/bin/id: Execution of '/usr/bin/id -g idc' returned 1: /usr/bin/id: idc: No such user at /etc/puppet/modules/auth/manifests/init.pp:73 on node vdc01b01ubuntu01 warning: Not using cache on failed catalog root@vdc01b01ubuntu01:~# /usr/bin/id -g idc 1000 root@vdc01b01ubuntu01:~# echo $? 0 root@vdc01b01ubuntu01:~# define key ($ensure = 'present', $destuser, $sourcekeys) { ### # First thing we do in this definition, make sure that # the users authorized_keys file exists and has the # right permissions. This is before we make any changes. ### $group = generate("/usr/bin/id","-g","$destuser") } |

