[Fusioninventory-user] Any puppet plugins for fusioninventory-agent?
Guillaume Rousse
guillomovitch at gmail.com
Sun Jan 27 19:55:25 UTC 2013
Le 22/01/2013 10:50, Carlos Gunners a écrit :
> Goneri,
>
> Thanks a million for responding .. and it's great to hear that some
> others have already started looking at that ..
>
> I see the following:
> https://github.com/lefred/puppet-fusioninventory
> https://github.com/HIGHLANDSTECHNOLOGIESSAS/highlands-fusioninventoryagent
If your point is just to install the agent and its configuration, and
ensure its runs either as a service or as a cron task, you don't need
any specific puppet module, basic puppets types are enough:
package { "fusioninventory-agent":
ensure => present,
}
file { "agent.cfg":
path => "/etc/fusioninventory/agent.cfg",
owner => "root",
group => "root",
mode => 644,
require => Package[fusioninventory-agent],
source => "puppet:///modules/inventory/agent.cfg"
}
cron { "fusioninventory-agent":
command => "/usr/bin/fusioninventory-agent",
user => "root",
hour => "06",
minute => "00",
}
service { "fusioninventory-agent":
ensure => disabled,
enable => false,
}
--
BOFH excuse #73:
Daemons did it
More information about the Fusioninventory-user
mailing list