filts 发表于 2018-8-3 08:23:00

puppet系列之salt模块

class salt::service {  file {"minion":
  content => template("salt/minion.erb"),
  owner => root,
  group => root,
  mode=> 640,
  path=> "/etc/salt/minion",

  require =>>  notify=> Service["salt-minion"]
  }
  service {"salt-minion":
  ensure=> running,
  enable=> true,

  require =>>  subscribe => File["minion"]
  }
  }
页: [1]
查看完整版本: puppet系列之salt模块