On Tue, Jul 16, 2013 at 2:09 AM, Jakov Sosic <[email protected]> wrote:
> On 07/16/2013 02:56 AM, Nan Liu wrote:
>
> > If that's not the issue, then I'm not sure. I'll try to put together
> > the transport module when I get some spare time.
>
> Reference is not a problem, but fetching parameters from that resource
> is... As I can see in vmware modules, there is a
> PuppetX::PuppetLabs::Transport module with retrieve method, and I'm not
> sure if I'm supposed to write something along that lines for my
> 'transport-alike' resource also?
This was long overdue, but finally had a opportunity to extend native
puppet resource to manage remote resource via transport. The specific
implementation uses ssh:
transport { 'esx':
username => $username,
password => $password,
server => $server,
}
service { 'SSH':
ensure => 'running',
provider => 'ssh',
transport => Transport['esx'],
}
This was written to run against an ESXi server to update some sshd config:
https://github.com/vmware/vmware-vmware_lib
Thanks,
Nan
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CACqVBqCPKx%2Bnckx0Kb1fx1RvPry%2BpvYDcKBhNf9BpHk8RGDAkg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.