     next err, if serviced then ctx.OK else ctx.PASS
 
 module.exports.push name: 'HDP Pig # Users', callback: (ctx, next) ->
+  # 6th feb 2014: pig user isnt created by YUM, might change in a future HDP release
   {hadoop_group} = ctx.config.hdp
   ctx.execute
     cmd: "useradd pig -r -M -g #{hadoop_group} -s /bin/bash -c \"Used by Hadoop Pig service\""

  , (err, rendered) ->
    next err, if rendered then ctx.OK else ctx.PASS



mkcmd = require './lib/mkcmd'

module.exports = []
module.exports.push 'histi/actions/nc'

module.exports.push (ctx) ->
  require('./hdfs').configure ctx
  require('../actions/nc').configure ctx
  ctx.config.hdp.pig_user ?= 'pig'
  ctx.config.hdp.pig_conf_dir ?= '/etc/pig/conf'

