All Projects → sous-chefs → freebsd

sous-chefs / freebsd

Licence: Apache-2.0 license
Development repository for the freebsd cookbook

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to freebsd

keepalived
Development repository for the keepalived cookbook
Stars: ✭ 29 (+7.41%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
samba
Development repository for the samba cookbook
Stars: ✭ 30 (+11.11%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
elixir
Development repository for the elixir cookbook
Stars: ✭ 16 (-40.74%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
rundeck
Development repository for the rundeck cookbook
Stars: ✭ 45 (+66.67%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
apparmor
Development repository for the apparmor cookbook
Stars: ✭ 13 (-51.85%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
smartmontools
Development repository for the smartmontools cookbook
Stars: ✭ 12 (-55.56%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
certificate
Development repository for the certificate cookbook
Stars: ✭ 71 (+162.96%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
squid
Development repository for the squid cookbook
Stars: ✭ 27 (+0%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
reprepro
Development repository for the reprepro cookbook
Stars: ✭ 11 (-59.26%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
maven
Development repository for the maven cookbook
Stars: ✭ 35 (+29.63%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
rsync
Development repository for the rsync cookbook
Stars: ✭ 25 (-7.41%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
github
Development repository for the github cookbook
Stars: ✭ 22 (-18.52%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
stunnel
Development repository for the stunnel cookbook
Stars: ✭ 14 (-48.15%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
sql server
Development repository for the sql_server cookbook
Stars: ✭ 60 (+122.22%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
golang
Development repository for the golang cookbook
Stars: ✭ 48 (+77.78%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
postfix
Development repository for the postfix cookbook
Stars: ✭ 102 (+277.78%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
line
Development repository for the line cookbook
Stars: ✭ 96 (+255.56%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
ossec
Development repository for the ossec cookbook
Stars: ✭ 42 (+55.56%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
passenger apache2
Development repository for the passenger_apache2 cookbook
Stars: ✭ 37 (+37.04%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform
vagrant
Development repository for the vagrant cookbook
Stars: ✭ 54 (+100%)
Mutual labels:  chef-cookbook, chef, chef-resource, managed-by-terraform

freebsd Cookbook

Cookbook Version CI State OpenCollective OpenCollective License

Sets up ports and pkgng on FreeBSD systems

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Requirements

Platforms

  • FreeBSD

Chef

  • Chef 15.3+

Cookbooks

  • none

Attributes

Attribute Default Description
node['freebsd']['compiletime_portsnap'] false Execute portsnap resources at compile time

Supported Versions

This cookbook will support stable and release versions of the FreeBSD Platform. More information on this subject can be found at issue23.

Usage

freebsd::portsnap

This recipe ensures the Ports Collection collection is fully up to date.

This recipe should appear first in the run list of FreeBSD nodes to ensure that the package cache is up to date before managing any package resources with Chef.

Resources

port_options

Provides an easy way to set port options from within a cookbook.

It can be used in two different ways:

  • template-based: specifying a source will write it to the correct destination with no change;
  • options hash: if a options hash is passed instead, it will be merged on top of default and current options, and the result will be written back.

Note that the options hash take simple options names as keys and a boolean as value; when saving to file, this is converted to the format that FreeBSD ports expect:

Option Key Name Option Value Options File
APACHE true WITH_APACHE=true
APACHE false WITHOUT_APACHE=true

Actions

Action Description Default
create create the port options file according to the given options Yes

Properties

Property Description
name The name of the port whose options file you want to manipulate;
source if the property is set, it will be used to look up a template, which will then be saved as a port options file
options a hash with the option name as the key, and a boolean as value.

Examples

# freebsd-php5-options will be written out as /var/db/ports/php5/options
freebsd_port_options 'php5' do
  source 'freebsd-php5-options.erb'
  action :create
end

# Default options will be read from /usr/ports/lang/php5;
# current options from /var/db/ports/php5/options (if exists);
# the APACHE options will be set to true, the others will be unchanged
freebsd_port_options 'php5' do
  options 'APACHE' => true
  action :create
end

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].