Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New nftables::file type to include raw file #147

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

traylenator
Copy link
Collaborator

Pull Request (PR) description

For example:

nftables::file{'geoip':
  content => "include \"/files/geoipsets/dbip/*.ipv4\"\n",
}

will write a file or content into the nftables configuration.

The file written will be included in configuration.

This Pull Request (PR) fixes the following issues

Fixes #146

For example:

```puppet
nftables::file{'geoip':
  content => "include \"/files/geoipsets/dbip/*.ipv4\"\n",
}
```

will right a file or content into the nftables configuration.

The file written will be included in configuration.

Fixes voxpupuli#146
@hashworks
Copy link
Member

Tested, works like a charm. Thanks <3

@bastelfreak bastelfreak merged commit 77503f4 into voxpupuli:master Sep 2, 2022
@traylenator traylenator deleted the file branch September 3, 2022 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to include completely raw files
3 participants