On 4 мар, 13:08, Ben Hughes <[email protected]> wrote:
> On Thu, Mar 03, 2011 at 11:59:25PM -0800, aleksey_k wrote:
> > > # puppet agent --test
>
> Throw a --debug on the end, and it should be a whole more talkative!
>
Outpu here -> http://pastebin.com/0GHfkH63
> You made a class for it? As it sounds like it's not getting called at all.
>
Yes.I did a class for this:
class keys {
define userkey() {
file { "/etc/file/keys/${name}_keys":
#ensure => ,
owner => $name,
group => "root",
mode => "440",
replace => true,
source => "puppet://server/files/file/keys/${name}
_keys",
require => User[$name],
}
userkey{ ["user1","user2","user3"]:
}
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
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.