Hi I create a manifest for fusioninventory-agent on my puppet server
On my puppet client if i modify file /etc/sysconfig/fusioninventory-agent the file fusioninventory-agent replace by puppet server configuration (this is OK) But if i stop fusioninventory-agent on my puppet client, puppet server not start the service and i don't know why If you see an error in my configuration, say me regards class fusioninventory-agent::redhat { package { 'fusioninventory-agent': ensure => present, } file { '/etc/sysconfig/fusioninventory-agent': ensure => present, owner => 'root', group => 'root', mode => 0644, content => template("/etc/puppet/modules/fusioninventory-agent/templates/fusioninventory-agent.erb"), require => Package["fusioninventory-agent"], notify => Service["fusioninventory-agent"] } service { 'fusioninventory-agent': ensure => running, hasstatus => true, hasrestart => true, enable => true, require => File['/etc/sysconfig/fusioninventory-agent'] } } -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.