Chef cookbook for securing sensitive payloads on nodes using a classic Caesar cipher. You know, 'cause it had to be done.
- Source Code: https://github.com/ut-cookbooks/rot13
- Community Site: http://community.opscode.com/cookbooks/rot13
Simply add a depends "rot13"
in one of your cookbooks or include recipe[rot13]
in your run_list and you will have access to the rot13_vault
lwrp.
Tested on 11.10.4 but newer and older versions should work just fine. File an issue if this isn't the case.
The following platforms have been tested with this cookbook, meaning that the recipes run on these platforms without error:
- ubuntu (12.04)
- centos (6.4)
Please report any additional platforms so they can be added.
This cookbook has no cookbook dependencies.
This recipe, gloriously, does nothing.
This cookbook depends on no attributes.
Action | Description | Default |
---|---|---|
create | Creates the encoded file. | Yes |
Attribute | Description | Default Value |
---|---|---|
path | Name attribute: The path for the file. | nil |
owner | The owner of the file. | nil |
group | The group ownership of the file. | nil |
mode | The permissions of the file. | nil |
payload | The content that is to be encoded in the file. | nil |
rot13_vault "lockdown" do
path "/etc/private/nopeek"
owner "root"
group "root"
mode "0400"
payload "please don't decode this"
end
rot13_vault "/tmp/nothin" do
payload <<-PAYLOAD
once upon a time, ...
PAYLOAD
end
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make.
Author:: Fletcher Nichol ([email protected])
Copyright 2014, Fletcher Nichol
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.