Hi,
I'm trying to use collections as shown below. The files I wish to collect
get populated on the client, so the puppetmaster doesn't know the contents.
I.e. I need to push these files to the server, and then distribute them
back to the clients:
@@file { "/etc/ssh-keys.d/$hostname.pub":
tag => "ssh_pub_keys",
require => Exec["copy_key"],
}
File <<| tag == 'ssh_pub_keys' |>>
But this isn't working. Do collections only work for files where the
puppetmaster provides the content?
If so, has anyone thought of any strategies to overcome this issue?
Thanks!
maarten
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/8T_SC00sFYAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.