Vadym Chepkov
unread,Feb 3, 2016, 4:48:20 PM2/3/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
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