So, as an example, how would i know the syntax to ...
# puppet-enterprise
g
So, as an example, how would i know the syntax to convert this into hiera settings e.g: puppet config set --section main runinterval 90m" puppet config set --section main splay true"
j
Copy code
pe_ini_setting { 'main runinterval 90m' :
    section => 'main' ,
    setting => 'runinterval' ,
    value   => '90m' ,
  }

  pe_ini_setting { 'main splay true' :
    section => 'main' ,
    setting => 'splay' ,
    value   => true ,
  }
just be aware, the
pe_ini_setting
provider is part of the puppet enterprise commercial product. this will ONLY work if you're using puppet enterprise.
as another example, this is a direct copy/paste from the module i'm writing to manage PE servers:
Copy code
pe_ini_setting { 'main strict_variables true' :
    section => 'main' ,
    setting => 'strict_variables' ,
    value   => true ,
  }

  pe_ini_setting { 'main strict error' :
    section => 'main' ,
    setting => 'strict' ,
    value   => 'error' ,
  }

  pe_ini_setting { 'main hiera_config' :
    section => 'main' ,
    setting => 'hiera_config' ,
    value   => '/etc/hieradata/hiera.yaml' ,
  }