Hi,

Is there way to remove a whole section from an inifile ?

For example,

[section]

Removing settings from the section you can do with puppetlabs-inifile module:

  ini_setting { 'made a mistake':
    ensure  => absent,
    path    => $config_file,
    section => 'section',
    setting => $setting,
  }

But how to remove empty section itself?

Thanks,
Vadym


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8FED6BC2-1D6B-4516-9841-A8DF8664D128%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to