错误:/ Stage [main] / Mcafeeepoagent / Service [cma]:

时间:2017-04-28 18:16:25

标签: puppet puppet-enterprise

错误:/ Stage [main] / Mcafeeepoagent / Service [cma]:提供者init在此主机上无法正常运行:我在Linux REdHat上使用模块Mcafeeepoagent puppet PE

my code:
    1 class profile::mcafee_epo_agent (
      2 ){
      3
      4  if $::kernel == 'Linux'{
      5    class { 'mcafee_epo_agent':
      6      class_enabled          => true,
      7      agent_install_type     => 'script',
      8      agent_install_options  => '-i',
     9      agent_service_name     => 'cma',
     10      agent_service_ensure   => 'running',
     11      agent_service_enable   => true,
     12      agent_service_provider => 'init',
     13      agent_service_script   => '/etc/init.d/cma',
     14    }
     15  }
     16 }

0 个答案:

没有答案